Automation Error from Web Browser Control in VB5 Control 
Author Message
 Automation Error from Web Browser Control in VB5 Control

Whilst investigating a problem with a application I have that employs the
ActiveX Scripting Engine I discovered the following interesting problem
when the Web Browser Control is used in a VB5.0 Control -

Firstly create a VB5.0 Control that wraps the Web Browser Control and
export a method that invokes the Web Browsers Navigate method. Then employ
the VB5.0 control in an HTML page. In the HTML page add VBScript on the
Window Load event to invoke the VB5.0 Control method to perform the Web
Browser Navigate.

When I load this page I get an "Automation Error" on the call to the VB5.0
Control which internally returns an "Automation Error" for the call to
WebBrowser.Navigate.

The page I am trying to navigate to ( http://www.*-*-*.com/ ) is
accessible through IE4.0 so its not the page. If I take the VB5.0 wrapper
out of the equation and create an instance of the Microsoft Web Browser
control in an HTML Page and perform a navigate it is okay. So the problem
seems to be with the VB5.0 Control. Does anyone have an suggestions?

Cheers
Derrick Hastie




Mon, 16 Oct 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB5 Web Browser Control

2. VB5 Web Browser Control question... Urgent

3. Changing font in web browser control (VB5)?

4. Web Browser control in VB5

5. Changing font in web browser control (VB5)?

6. Web Browser control - VB5

7. running examples with web browser control give error

8. Web Browser Control Major Error!!!

9. How to control scroll bars in Web Browser Control

10. Web browser control, .Document object browser/viewer?

11. Web Browser Control in HTML Layout Control

12. Web Browser control - problem loading ActiveX controls

 

 
Powered by phpBB® Forum Software