Start Default Browser - Windows
Posted
by dbasnett
on Stack Overflow
See other posts from Stack Overflow
or by dbasnett
Published on 2010-04-25T09:53:14Z
Indexed on
2010/04/25
10:03 UTC
Read the original article
Hit count: 387
When starting the default browser like this:
Dim trgt1 As String = "http://www.vbforums.com/showthread.php?t=612471"
pi.FileName = trgt1
System.Diagnostics.Process.Start(pi)
It takes about 40 seconds to open the page.
If I do it like this, though this isn't the default browser
Dim trgt1 As String = "http://www.vbforums.com/showthread.php?t=612471"
pi.Arguments = trgt1
pi.FileName = "iexplore.exe" 'or firefox.exe
System.Diagnostics.Process.Start(pi)
it opens immediately. Is this a bug or a feature? I have tried this with both IE and FireFox set to be the default browser.
© Stack Overflow or respective owner