When you see that error, you can read which program is throwing the error? Clicking on the "Details" button will probably give you the exact error.
Since you are probably using Internet Explorer, which version of IE are you using? Have you tried installing a secondary browser to use if needed? Here's a link to a free one that I use:
http://www.mozilla.org/products/firefox/
In the meantime, to stop some of the program conflicts that can cause the problem, please follow the instructions below:
First, download, install, update, then run the free spyware removal tools from the links below. Delete all spyware found:
Ad-Aware">http://www.lavasoftusa.com/support/download/]Ad-Aware
Ok here goes, using windows 98,
why do i get a message saying this program has performed an illegal operation and will be shutdowm when i try to access some webpages,thanks in advance

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic