bkonia
09-09-2007, 12:24 PM
I often receive Javascript errors when navigating to web pages using UR's embedded browser. I do NOT receive these errors when viewing the same pages in IE. I'm using the following settings in IE:
Disable Script Debugging (Internet Explorer) - ON
Disable Script Debugging (Other) - ON
Display a notification about every script error - OFF
I did some research on this and it turns out that the settings shown above are only applicable when running IE as a standalone browser. When the IE web browser control is embedded in other applications, the developer must implement additional error handling to trap Javascript errors.
Microsoft has documented the procedure in the following knowledgebase articles:
http://support.microsoft.com/kb/279535
http://support.microsoft.com/kb/261003/
The first article applies to Visual Basic, but I assume the procedure for Visual C++ would be similar.
I would like to request that this error handling be added to UR. It would make the embedded browser a lot more useful if annoying Javascript errors could be eliminated.
Disable Script Debugging (Internet Explorer) - ON
Disable Script Debugging (Other) - ON
Display a notification about every script error - OFF
I did some research on this and it turns out that the settings shown above are only applicable when running IE as a standalone browser. When the IE web browser control is embedded in other applications, the developer must implement additional error handling to trap Javascript errors.
Microsoft has documented the procedure in the following knowledgebase articles:
http://support.microsoft.com/kb/279535
http://support.microsoft.com/kb/261003/
The first article applies to Visual Basic, but I assume the procedure for Visual C++ would be similar.
I would like to request that this error handling be added to UR. It would make the embedded browser a lot more useful if annoying Javascript errors could be eliminated.