Shell Function in .NET

  • Thread starter Thread starter Lenny
  • Start date Start date
L

Lenny

Hello,

What's the equilevant of VB6 shell funtion in (
Shell(pathname[,windowstyle]) ) .NET framework.

Thanks
 
Hello,

Lenny said:
What's the equilevant of VB6 shell funtion in (
Shell(pathname[,windowstyle]) ) .NET framework.

System.Diagnostics.Process.Start

Regards,
Herfried K. Wagner
 
Hi!

System.Diagnostics namespace has the Process class. Use the Start
method of the same. It has got couple of overloads that might be of
interest to you.

For example:

Process.Start("http://www.wintoolzone.com/");

shall invoke the default system browser and make it navigate to
http://www.wintoolzone.com/


Regards,
Gaurav Khanna
---------------
Microsoft MVP - .NET
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
 
Back
Top