Change Directory

jutiyi

Member
Joined
Feb 16, 2005
Messages
14
Programming Experience
1-3
I want to run second application from m y first application.


But my first application stored in the C:\ DRIVE

The second application stored in the D:\ DRIVE

How do i call second application from the D:\ DRIVE from my first application that stored in the C:\DRIVE????


THANKS.
 

Ruffnekk

Member
Joined
Mar 17, 2005
Messages
17
Location
Rotterdam, Netherlands
Programming Experience
10+
Just use the fully qualified path to call the other application, for example:

VB.NET:
Shell("D:\MyFolder\MyApp.exe", AppWinStyle.NormalFocus)

You may want to look up the ChDrive and ChDir functions in your help files.
 
Top Bottom