how do i link a link label to a specific site in iexplorer???
Printable View
how do i link a link label to a specific site in iexplorer???
Why does it have to be internet explorer? ALLOW THE USERS TO USE THEIR DEFAULT BROWSER DAMMIT!
Anyway, just use a System.Diagnostics.Process.Start("www.website.com") and it'll launch the website in that user's default browser.
Do you want it to be iexplorer or default browser?
For default browser this shoud do:
System.Diagnostics.Process.Start("http://www.google.com")
For iexplorer you can use:
Dim startinfo As New ProcessStartInfo("iexplore.exe", e.Link.LinkData.ToString)
System.Diagnostics.Process.Start(startinfo)
Or just System.Diagnostics.Process.Start("iexplore.exe " + "www.google.com")Quote:
Originally posted by Lunatic3
For iexplorer you can use:
Dim startinfo As New ProcessStartInfo("iexplore.exe", e.Link.LinkData.ToString)
System.Diagnostics.Process.Start(startinfo)
That way you're not making another variable GC has to clean up later