Launch IE From Desktop App?

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I have a VB.NET desktop application with some reports in SQL Server
Reporting Services, in other words, web reports. I want the user to
be able to press a button in the desktop application and launch the IE
browser and go to a specific link. Can anyone tell me how to do
this?

TIA,
J
 
You can launch IE like this:
Process.Start("iexplore.exe", "www.whatever.com")
The usual way to do this is to make links clickable and then handle the
LinkClicked event. For example, in a RichTextBox, you can handle LinkClicked
like this:
Process.Start("iexplore.exe", e.LinkText)
In this way, clicking any (of potentially many) clickable links results in
IE going to the right page. Maybe you can adopt this style in your app.
 
AMercer said:
You can launch IE like this:
Process.Start("iexplore.exe", "www.whatever.com")
The usual way to do this is to make links clickable and then handle the
LinkClicked event. For example, in a RichTextBox, you can handle LinkClicked
like this:
Process.Start("iexplore.exe", e.LinkText)
In this way, clicking any (of potentially many) clickable links results in
IE going to the right page. Maybe you can adopt this style in your app.

Or better yet, just launch via Process.Start("www.whatever.com"). This
opens the url in whatever browser they prefer to use.

Mike
 
Back
Top