Looking for a few good APIs

  • Thread starter Thread starter Harry
  • Start date Start date
H

Harry

Hello,
I'm looking for some .net APIs to do the following from within a
Windows Form.
- Open IE with a specific web page (Using the LinkLabel)
- Open the System Info Dialog Box (Often found in the About Dialog Box
of an application)

Thanks in advance,
- Harry
 
Hi Harry,

Here is how you can launch a web browser with an url.

System.Diagnostics.Process p = new System.Diagnostics.Process();

// assign document, in this case the url

p.StartInfo.FileName = linkLabel1.Text;

// use shell execute so it will start with the program associated with html

p.StartInfo.UseShellExecute = true;

// start the whole thing

p.Start();





//launching systeminfo

System.Diagnostics.Process p = new System.Diagnostics.Process();

p.StartInfo.FileName = "winmsd.exe";

p.StartInfo.UseShellExecute = true;

p.Start();


Chris
 
Back
Top