How can I launch a webbrowser from my windows forms applications? The
reason I need that is because I have a DataGridView with links in one
of the columns. When clicking on it I process the click and then want
to start a webbrowser loading the site that the link was pointing to.

Thanks,
Rob

Re: Launch WebBrowser by William

William
Wed Feb 16 21:58:00 CST 2005

"rob" <rmdiv2000@yahoo.com> wrote in message
news:1108604231.007090.177310@z14g2000cwz.googlegroups.com...
> How can I launch a webbrowser from my windows forms applications? The
> reason I need that is because I have a DataGridView with links in one
> of the columns. When clicking on it I process the click and then want
> to start a webbrowser loading the site that the link was pointing to.

Use the Process class as this little C# hack does :

using System;
using System.Diagnostics;

class Class1
{
static void Main(string[] args)
{
Process proc;

proc = new Process();

proc.StartInfo.FileName = "http://msdn.microsoft.com";
proc.StartInfo.Verb = "open";
proc.StartInfo.UseShellExecute = true;
proc.Start();
}
}

Regards,
Will







Re: Launch WebBrowser by Herfried

Herfried
Thu Feb 17 07:54:23 CST 2005

"rob" <rmdiv2000@yahoo.com> schrieb:
> When clicking on it I process the click and then want
> to start a webbrowser loading the site that the link was pointing to.

Opening files, applications, Web documents, and the mail client
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>