Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 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