I m using vb.net 2005. I create two panels in the window form.how can i display the firefox browser in one panel?
VB.nethow can i use firefox in a window form
Page 1 of 1
9 Replies - 1683 Views - Last Post: 19 January 2010 - 11:24 AM
Replies To: VB.net
#2
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:
Unless there is some way of adding firefox as a control
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.
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
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
#4
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....
#5
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
#6
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.
#8
Re: VB.net
Posted 11 January 2010 - 10:08 PM
AMDKilla, 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:
Unless there is some way of adding firefox as a control
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.
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
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.
AMDKilla, 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:
Unless there is some way of adding firefox as a control
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.
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
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
#9
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
regards
ratikanta
#10
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.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|