gregcost wrote: CEventObjclass (which I thought this code is trying to do) Change your glasses. gregcost wrote: I could set return value true always regardless of an onError event so that I could continually disable script error checking. Yes, there is another way to disable script error when you are hosting the web control. The way it is explained in the support KB article is a transient way of disable script errors. In fact, they are not disabled. You subscribe the onerror event, and wheenever an error occurs you block it rather than let IE popup a message box. This is transient. This code must be executed for each new web page being loaded. There is a way to do it for the entire life cycle of your application, and without changing the users options in the registry (Internet options / Advanced / ...). I guess you can find a support KB article but from what I remember, you have to use the ExecCmd method and pass it a special OLECMDID_DISABLEERRORXXXXXXX cmd id (I don't remember the name). You won't find the cmd id in the MSDN doc though, for some reason.
RSS feed