?
Solved

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

Posted on 2009-07-06
3
Medium Priority
?
613 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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