How to open an exe file???

deBUGger

Member
Joined
Nov 11, 2003
Messages
8
Hi everyone... I have a problem here... Im trying to open an exe file when I click on a button. The problem is Im kind of new in this stuff and I dont have no idea what to do... Can anyone help me?

Thanks in advance!
 
Thanks to your help, me and my boyfriend figured this out:


------------------------------------------------------------------------------------
using System.Diagnostics;


Process apli= new Process();
apli.StartInfo.FileName =@"filename.exe";
apli.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
apli.Start();
------------------------------------------------------------------------------------

Thanks a lot, it really helped!!!
 
Back
Top