WebBrowser control: Error loading html pages w/ javascript 
Author Message
 WebBrowser control: Error loading html pages w/ javascript

I am having problems with VB5 WebBrowser control: whenever  I try to
navigate to a html page which contains a JavaScript I get the following

Internet Explorer Script Error
An error  has occurred in the script on this page.
Error: Object doesn't support this action
Code: 0
URL: http://www.*-*-*.com/
Do you want to continue running scripts on this page? y/n

Selecting Yes allows the page to run properly. The line which causes the
problem is:
WebBrowser1.Navigate " http://www.*-*-*.com/ "

I have tried the .Navigate2 method as well and have the same error.

The following is the properties of the msinet.ocx file:
Date: Sept 11, 1997 9:27PM
version: 5.01.4511

Is there a newer Internet Transfer Control DLL which will resolve this
problem? Will using VB6 resolve the issue?

Thanks in advance for any input you may provide!


Tue, 03 Dec 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Checking for error http 404 on web page loading with webbrowser object

2. Load and Parse HTML Doc without WebBrowser Control

3. Printing an HTML page displayed in a WebBrowser control

4. WebBrowser Control Automatically Loads Page in Design/Run-Time

5. Is there any way I can have the WebBrowser control display the HTML page with ou

6. How to print HTML page from webBrowser Control : ANSWER

7. WebBrowser: Suppressing javascript error dialogue box?

8. WebBrowser control + javascript

9. Disabling Javascript alerts in webbrowser control

10. WebBrowser control and Javascript

11. WebBrowser control + javascript

12. calling a javascript function with the WebBrowser control...


Powered by phpBB® Forum Software