T
tsung-yu
Hello any expert,
I has a vb.net program.
For user requirement, I need to run and communicate an old DOS execution
file.
But, how to run and communicate a DOS program in a VB.NET program?
Should I use the Process or Console class? How to do that?
For example,
If this DOS program name as "pick.exe".
In DOS SHELL, user run the pick.exe then type "command1" and wait to
response1
message.
type "command2" and .
When user receives the response1 message then type "command2" and wait to
receive response2 message, later, user closes the DOS SHELL window.
welcome to pick.exe v1.23
-------------------------
command1
..........
response1 message
command2
..........
response2 message
Thank you very much.
Joe
I has a vb.net program.
For user requirement, I need to run and communicate an old DOS execution
file.
But, how to run and communicate a DOS program in a VB.NET program?
Should I use the Process or Console class? How to do that?
For example,
If this DOS program name as "pick.exe".
In DOS SHELL, user run the pick.exe then type "command1" and wait to
response1
message.
type "command2" and .
When user receives the response1 message then type "command2" and wait to
receive response2 message, later, user closes the DOS SHELL window.
welcome to pick.exe v1.23
-------------------------
command1
..........
response1 message
command2
..........
response2 message
Thank you very much.
Joe