I'm trying to get VB to launch a DOS based program and save the output to a text file.<P>Shell wouldn't even launch the program.<P>So I used ShellExecute, and my call ...
You don't, ShellExecute doesn't have the functionality you want. You could use ShellExecuteEx asking for the process handle return and polling until that process terminates if you wanted.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果