Add Mozilla engine to Windows forms application

  • Thread starter Thread starter Behzad
  • Start date Start date
B

Behzad

Hi all,

Is there anybody out there who knows how to embed Mozilla engin in
CSharp application.
There are some useful articles in codeproject.com that show how to work
around this issue with IE ; but need embed mozilla in my windows form.


thanks in advance
Behzad
 
Hi all,

Is there anybody out there who knows how to embed Mozilla engin in
CSharp application.
There are some useful articles in codeproject.com that show how to work
around this issue with IE ; but need embed mozilla in my windows form.

There is the Mozilla ActiveX project:
<http://www.iol.ie/~locka/mozilla/mozilla.htm>

Their ActiveX control even has the same API as the IE ActiveX. Not tested
though.
 
Mehdi said:
There is the Mozilla ActiveX project:
<http://www.iol.ie/~locka/mozilla/mozilla.htm>

Has anyone here actually tried using this? I've tried it myself, but the
installation instructions on the above page are very unclear - what
exactly do you have to install in order to be able to use it? Do you
actually need to install the whole Mozilla program as well as the
ActiveX control? I managed to get it working on my own machine, but when
installing my program and the ActiveX control on a client machine it
wouldn't run :s
 
Dylan said:
Has anyone here actually tried using this? I've tried it myself, but the
installation instructions on the above page are very unclear - what
exactly do you have to install in order to be able to use it? Do you
actually need to install the whole Mozilla program as well as the
ActiveX control? I managed to get it working on my own machine, but when
installing my program and the ActiveX control on a client machine it
wouldn't run :s

Yes you need to install either Mozilla Seamonkey or Mozilla Firefox in
order to use it. I guess you might be able to find out exactly which
dll's are needed and ship those with your application, but as it stands
it requires the complete install.

Keep in mind that you need to have IE installed to use the WebBrowser
control aswell.

Jesse
 
Jesse said:
Yes you need to install either Mozilla Seamonkey or Mozilla Firefox in
order to use it.

Ah, thanks. That's a bit of a pain :(
I guess you might be able to find out exactly which dll's are needed
and ship those with your application, but as it stands it requires
the complete install.

It would be more helpful, imho, if the Mozilla ActiveX component was
shipped with the relevant Gecko DLL files. As it is however, I will see
if I can figure out what files I need and try to come up with something
myself.

The strange thing is that *both* Mozilla and Firefox were installed on
the system that my application wouldn't run on :s
Keep in mind that you need to have IE installed to use the WebBrowser
control aswell.

Helpfully (or not, depending on perspective!), IE comes as default on
Windows systems :)
 
Hello Dylan,

As Dylan points out.. IE is already installed and encapsulated in the new
WebBrowser control. Why not just use that.

-Boo
 
GhostInAK said:
As Dylan points out.. IE is already installed and encapsulated in the new
WebBrowser control. Why not just use that.

Because IE lacks the CSS support that I need ;) Either way, I have
managed to get it working fine now. I installed *only* the ActiveX
control, which does actually come with the required DLL files to work
out of the box without Mozilla or Firefox being installed, and then
discovered that the applications using it will only run from a local
drive, whereas I was trying to run them from a network drive.

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top