>>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)
>>
>>Thanks,
>>
>>Jerryt
>
>
>
>Try posting your question in the .Net forum.
You may execute batch file instead of exe.
MyBatch.bat:
c:\
cd \mypath
myexe.exe
ProcID = Shell("""C:\mypath\mybatch.bat""", AppWinStyle.NormalFocus)
HTH
Igor Gelin
Database Developer