Solved

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

Posted on 2009-07-06
3
583 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

0
Comment
Question by:DistributedServices
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
danaseaman earned 500 total points
ID: 24787233
Have you tried Mozilla ActiveX Control 1.7.12 from this Link?:

http://www.brothersoft.com/mozilla-activex-control-78221.html


Option Explicit
 

Private Sub Form_Load()

   MozillaBrowser1.Navigate "http:\\www.google.com"

End Sub

Open in new window

0
 

Author Comment

by:DistributedServices
ID: 24791897
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.
0
 
LVL 22

Expert Comment

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

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now