Reputation: 5961
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 get the return values directed to vb textbox.
anyone know how i can do this?
Upvotes: 1
Views: 717
Reputation: 499002
Use the Process
class to execute the command line utility and set it to redirect StandardOutput
to a .NET stream that you read from.
Upvotes: 2