We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

MozillaBrowser does not work, but InternetExplorerworks just fine. Why?

Medium Priority
634 Views
Last Modified: 2013-12-20
Hi there

I try to replace IE with Mozilla. I have no error messages but Mozilla does not show up (see below)

I tried to debug like this:
    ? o_Browser.Visible
I get an error (-2147418113 (8000ffff), Browser not in a vlid state).

Can anyone help?
Thank you for every tip.

Susan
Option Explicit
Dim WithEvents o_Browser As MozillaBrowser
...
Private Sub Form_Load()
...
    Set o_Browser = New MozillaBrowser 
    o_Browser.Visible = True
    o_Browser.Navigate m_URL
...
End Sub

Open in new window

Comment
Watch Question

Dana Seaman (danaseaman)
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Dear danaseaman,

thank you for writing. Yes I have tried the Mozilla Active X Control.

What you sent looks like an embedded control, no?
I like to have an external browser instance (with all browser's native buttons, history, etc).

project > reference (not project > component) I need to configure for that.
Dana SeamanDana Seaman (danaseaman)
CERTIFIED EXPERT

Commented:
AFAIK you can only do this with the ActiveX control unless you call ShellExecute to load and instance of FireFox.
See https://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_21399471.html 

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.