Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-06
3
Medium Priority
?
620 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 1500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
When you put your credit card number into a website for an online transaction, surely you know to look for signs of a secure website such as the padlock icon in the web browser or the green address bar.  This is one way to protect yourself from oth…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

782 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