Hi
If the VB program launches an exe file (which is in DOS prompt), is there anyway it can get the output from the DOS prompt?
Thanks for help.
Printable View
Hi
If the VB program launches an exe file (which is in DOS prompt), is there anyway it can get the output from the DOS prompt?
Thanks for help.
you could launch a BAT or CMD File which starts your DOS program and redirect its output to a file (via '>' character) and read that file after the program has ended.
Try using the output redirection ">" to direct out of dos exe to a file when you shell and read the file from VB