Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have been looking for the simple code to launch an external file (.exe, .ink, .whatever) and then quit the VB Program... I have no idea how to go about doing this but have been adamantly searching. Obviously I am a bit of a beginner if I have no idea how to do something I know is probably so simple. I want this to be able to be done on a button click event. Please include as much code as possible so I can figure out what is right.

 

The sequence of events that I want to happen:

Button Click

C:/file.exe launched & (simultaneously) the VB Prog. ends

 

C:/file.exe continues to run

  • Administrators
Posted (edited)

Have a look at

System.Diagnostics.Process

that will allow you to run external programs.

Also there is no need to post the same question in multiple places - either someone will reply or they won't. Posting the same thing in several places isn't going to get a better reply.

Edited by PlausiblyDamp

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

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