Silly me

cdoverlaw

Well-known member
Joined
Oct 11, 2003
Messages
146
Hi,
I am currently having problems remembering what the code is to open a program outside my application, can someone please remind me

Jonathan
 
Last edited by a moderator:
You vcan do it this way;

Code:
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 :(
 
Yes, Shell will work, but its part of the VB6 compatability layer
and thus should be avoided.
 
Back
Top