开发者

redirect output from a dos exe to vb.net form

i have an dos exe which take argument, perform its functions and display the output in dos.

i need to call the dos file from vb passing the argument without showing the dos window, and ge开发者_Python百科t the return values directed to vb textbox.

anyone know how i can do this?


Use the Process class to execute the command line utility and set it to redirect StandardOutput to a .NET stream that you read from.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜