Browser problems

ng_pearce

New member
Joined
Jun 9, 2004
Messages
2
Programming Experience
Beginner
Could someone please tell me how you can open an instance of either Mozilla or Firefox with a desired web page from within a VB.net form? I know that to open a web page in IE you can use the following two methods:




[font=&quot]ProcID = Shell(strBrowserPath & "IExplore.exe" & " " & strPathOfWebpage, AppWinStyle.MaximizedFocus)[/font]

[font=&quot] [/font]

[font=&quot]OR[/font]

[font=&quot] [/font]

[font=&quot]Process.Start(strBrowserPath & "IExplore.exe", strPathOfWebpage)[/font]



But when I use either of these two methods with Firefox or Mozilla it doesn’t work.
 

ayan

Member
Joined
Jun 9, 2004
Messages
18
Programming Experience
Beginner
like this?
VB.NET:
 process.start("mozilla","www.mindcracker.com")
 

ng_pearce

New member
Joined
Jun 9, 2004
Messages
2
Programming Experience
Beginner
Sorry. What I meant by a web page is one on your local hard drive, not the web. So substitute strPathOfWebpage for something like: “c:\webpage.htm”
 
Top Bottom