Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everyone... I have a problem here... I'm trying to open an exe file when I click on a button. The problem is I'm kind of new in this stuff and I don't have no idea what to do... Can anyone help me?

 

Thanks in advance!

Posted

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!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...