How to open a url link in s sharp?

  • Thread starter Thread starter HackerisNewKnight
  • Start date Start date
H

HackerisNewKnight

hi all,

i used to open a url link in visual c++ like this method:
shell_execute("groups.google.com","open",NULL.NULL,NULL),

how can i do that in csharp?
could anyone help me?
thanks
 
take a look at the process class..

System.Diagnostics.ProcessStartInfo
procFormsBuilderStartInfo = new System.Diagnostics.ProcessStartInfo();
procFormsBuilderStartInfo.FileName =
"http://www.google.com";
procFormsBuilderStartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Maximized;
System.Diagnostics.Process procFormsBuilder = new
System.Diagnostics.Process();
procFormsBuilder.StartInfo = procFormsBuilderStartInfo;
procFormsBuilder.Start();

VJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top