Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell function and setting a directory
Message
 
To
05/04/2002 15:34:34
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00641607
Message ID:
00642056
Views:
13
You can specify the default directory using ShellExecute API function.

>Using VB.Net, how can I execute a EXE and set the directory to that EXE's path?
>
>'''This works, but the directory is not set to this EXE's path.
>Dim ProcID As Integer
>ProcID = Shell("""C:\mypath\myexe.EXE""", AppWinStyle.NormalFocus)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform