|
-
Feb 4th, 2005, 04:34 PM
#1
Shell to a new browser to open a URL
In .NET, you can navigate to a website, simply by typing
process.start("www.vbforums.com")
but the problem with this, is that it will open vbforums website in a browser window you already have open...
There is no way to specify to open a new instance of IE (or another webbrowser)
You could simply launch IE with the website as a commandline arg, but what if the user doesn't want to use IE? It is better to not depend on a specific browser...
My code simply creates a temporary HTM file, then finds what exe is associated with HTM files on the system, and launches that browser and navigates to the page.
http://www.vbforums.com/attachment.p...chmentid=33874
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
|