.NET, VBscript and batch file

icecool

New member
Joined
Nov 24, 2007
Messages
1
Programming Experience
3-5
Dear all, i have a simple VB.net application that calls a vbscript, and this vbscript calls by itself a batch file. the thing is that this vbscript calls the batch succesfully when started manually, but when triggered from VB.net it doesnt. any ideas why ?

Best Regards
 
Look up the documentation and experiment with the properties UseShellExecute and WorkingDirectory of ProcessStartInfo class.
 
Back
Top