|
-
Aug 9th, 2002, 06:58 PM
#1
Thread Starter
New Member
default web browser
hi, how can I launch the default web browser on a system from a vb.net program?
-
Aug 9th, 2002, 08:20 PM
#2
PowerPoster
Basically, you are going to have your app open a html document or something. The default browser will show automatically.
I don't have the code to do that, I will look around for it though. In VB6 is was the ShellExecute API function.
-
Aug 9th, 2002, 08:39 PM
#3
PowerPoster
Here you go, you might have to change the folder that the exe is in for your computer...
Shell("C:\Program Files\Internet Explorer\IExplore.exe", AppWinStyle.NormalFocus)
-
Aug 9th, 2002, 08:40 PM
#4
PowerPoster
Sorry that doesn't launch the default browser, but maybe it gets you started.
-
Aug 9th, 2002, 09:03 PM
#5
this works on my comp... I think it would still work if you have a browser other than IE. But still it shouldnt be the best way
VB Code:
Dim p As New Process()
p.Start("http://www.yahoo.com")
-
Aug 9th, 2002, 09:57 PM
#6
yay gay
-
Aug 10th, 2002, 07:04 AM
#7
Thread Starter
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|