VB.net

how can i use firefox in a window form

Page 1 of 1

9 Replies - 2121 Views - Last Post: 19 January 2010 - 11:24 AM Rate Topic: -----

#1 ratikanta2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 11-January 10

VB.net

Post icon  Posted 11 January 2010 - 02:57 AM

I m using vb.net 2005. I create two panels in the window form.how can i display the firefox browser in one panel?
Is This A Good Question/Topic? 0
  • +

Replies To: VB.net

#2 AMDKilla  Icon User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 88
  • Joined: 30-December 09

Re: VB.net

Posted 11 January 2010 - 05:47 AM

That would be a very hard thing to code, if possible at all.

If you are looking to be able to browse the web in your application, then consider using the WebBrowser control. It's a lot easier than trying to code firefox into your application. It is essencially IE, so if you need firefox for a reason instead of IE, you could run firefox by using the shell command:
Dim StartFF = System.Environment.ExpandEnvironmentVariables("%ProgramFiles%\Mozilla Firefox\")
System.Diagnostics.Process.Start(StartFF + "\FF.exe")


Unless there is some way of adding firefox as a control :blink:

EDIT: What if Firefox isn't installed on the computer you run the program on? Pretty much every Windows computer has a version of IE built in to it.

This post has been edited by AMDKilla: 11 January 2010 - 05:49 AM

Was This Post Helpful? 0
  • +
  • -

#3 tvanderv  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 27-November 09

Re: VB.net

Posted 11 January 2010 - 06:29 AM

do you want to make a wb with firefox's engine , then you should look up onto geckofx, additional info about geckofx can be found on: Mozilla
Was This Post Helpful? 0
  • +
  • -

#4 Jack Eagles1  Icon User is offline

  • Pugnacious Penguin (inspired by no2pencil)
  • member icon

Reputation: 183
  • View blog
  • Posts: 1,152
  • Joined: 10-December 08

Re: VB.net

Posted 11 January 2010 - 10:16 AM

You could just run firefox as an MDI child in your form. Not sure if it would work though :S It does with notepad & mspaint....
Was This Post Helpful? 0
  • +
  • -

#5 olibenu  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 45
  • View blog
  • Posts: 537
  • Joined: 31-December 08

Re: VB.net

Posted 11 January 2010 - 10:54 AM

pple are making browsers here on dic, could just tag along. check the share ur projects area
Was This Post Helpful? 0
  • +
  • -

#6 zukeru  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 155
  • Joined: 25-December 09

Re: VB.net

Posted 11 January 2010 - 12:13 PM

Ok you can call the activex control for firefox as a reference but it will be alot of work. I say just call fire fox as a midichild there is another post about that already, or you can code it which depending on what your going to do might be a good idea.
Was This Post Helpful? 0
  • +
  • -

#7 crepitus  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 85
  • View blog
  • Posts: 383
  • Joined: 08-September 09

Re: VB.net

Posted 11 January 2010 - 04:50 PM

http://geckofx.org/
Was This Post Helpful? 0
  • +
  • -

#8 ratikanta2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 11-January 10

Re: VB.net

Posted 11 January 2010 - 10:08 PM

View PostAMDKilla, on 11 Jan, 2010 - 04:47 AM, said:

That would be a very hard thing to code, if possible at all.

If you are looking to be able to browse the web in your application, then consider using the WebBrowser control. It's a lot easier than trying to code firefox into your application. It is essencially IE, so if you need firefox for a reason instead of IE, you could run firefox by using the shell command:
Dim StartFF = System.Environment.ExpandEnvironmentVariables("%ProgramFiles%\Mozilla Firefox\")
System.Diagnostics.Process.Start(StartFF + "\FF.exe")


Unless there is some way of adding firefox as a control :blink:

EDIT: What if Firefox isn't installed on the computer you run the program on? Pretty much every Windows computer has a version of IE built in to it.



View PostAMDKilla, on 11 Jan, 2010 - 04:47 AM, said:

That would be a very hard thing to code, if possible at all.

If you are looking to be able to browse the web in your application, then consider using the WebBrowser control. It's a lot easier than trying to code firefox into your application. It is essencially IE, so if you need firefox for a reason instead of IE, you could run firefox by using the shell command:
Dim StartFF = System.Environment.ExpandEnvironmentVariables("%ProgramFiles%\Mozilla Firefox\")
System.Diagnostics.Process.Start(StartFF + "\FF.exe")


Unless there is some way of adding firefox as a control :blink:

EDIT: What if Firefox isn't installed on the computer you run the program on? Pretty much every Windows computer has a version of IE built in to it.



It is not working actually i want firfox browser as child of form1
Was This Post Helpful? 0
  • +
  • -

#9 ratikanta2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 11-January 10

Re: VB.net

Posted 19 January 2010 - 02:41 AM

This is opened in new window but i want display in same window

regards
ratikanta
Was This Post Helpful? 0
  • +
  • -

#10 Jack Eagles1  Icon User is offline

  • Pugnacious Penguin (inspired by no2pencil)
  • member icon

Reputation: 183
  • View blog
  • Posts: 1,152
  • Joined: 10-December 08

Re: VB.net

Posted 19 January 2010 - 11:24 AM

Yep, have a look into the code for MDI Child forms etc. Unless you are prepared to spend loaaadss of time on this it wont work.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1