Invoke a program from inside a program

  • Thread starter Thread starter Jonathan
  • Start date Start date
J

Jonathan

Hi all,
What is the C# equivalent of a VB6 Shell command? I want to invoke Adobe
Reader from within my C# program.

Thank
Jonathan
 
Perfect. Thank you.
-Jonathan

Ashutosh Bhawasinka said:
Use the class
System.Diagnostics.Process

call it's static method "Start" passing the file name. If you want more
control over the process, create a System.Diagnostics.ProcessStartInfo
class object and pass it to one of the overloaded Start method in Process
class.

Thanks & Regards,
Ashutosh Bhawasinka
 
Use the class
System.Diagnostics.Process

call it's static method "Start" passing the file name. If you want more
control over the process, create a System.Diagnostics.ProcessStartInfo
class object and pass it to one of the overloaded Start method in
Process class.

Thanks & Regards,
Ashutosh Bhawasinka
 
Back
Top