Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Hi,

I am currently having problems remembering what the code is to open a program outside my application, can someone please remind me

 

Jonathan

Edited by cdoverlaw
Posted

You vcan do it this way;

 

Dim proAnim8or As Process

' startup an anim8or session

proAnim8or = New Process
proAnim8or.StartInfo.FileName = Application.StartupPath & "\anim8or.exe"
proAnim8or.Start()

 

There is also a shell command, escapes me at the mo, which is a single line you execute with the file name to start

 

 

DOH....he beat me to it :(

My website
  • *Experts*
Posted

Yes, Shell will work, but it's part of the VB6 compatability layer

and thus should be avoided.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

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