Hi all

Does anyone know if it is possible to open a firefox webbrowser in a form.

Or does it take you default web browser as the webbrowser to open in form.

Eg - My Default Browser is Firefox - so does that mean the webbrowser control would be a firefox based one.

Probably a stupid question so sorry if it is.

Any guidance would be great.

Recommended Answers

All 4 Replies

Member Avatar for Unhnd_Exception
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'This would open the default browser and navigate to google
        'This would open Firefox and navigate to google
        Process.Start("Firefox.exe", "http://www.google.com")
    End Sub

The webbrowser control is the webbrowser control. Its no browser.

Unhnd Exception
Thank you for replying to my post.

I am already aware of that as a method of opening a web browser and navigating, however what i meant (and may not have made clear) is:

I have placed a webbrowser in the form and need that to be a firefox browser.

I do not need to oopen and navigate a new browser to a site, i need the browser inbedded into the form to be firefox and navigate to the site.

Any ideas.

Thanks you for you help

Check out this link. Read through it for more info and follow the link provided in the that thread to load an application in a Form, not a TabControl.

I managed to find a guide on another forum that had been posted a short while back, that has a really good step-by-step 'How-To' on embedding a Firefox/Gecko browser into a VB.Net userform.

I've been able to get it working and while I have a couple of wrinkles to iron out, I'm confident that in time, I'll get running like it should be.

Just in case anybody else wants to give it a go the link to the guide is ---> http://www.vbforums.com/showthread.php?t=616767

I'll now mark this thread as solved.



Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.