Can a VB.NET Windows Forms Application be configured so that when run from the command-line, the command-line waits until the application exits before showing the next prompt?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can change the command to start your application from the command line to:
In general the command line behavior depends on the subsystem your application is using (Console/Windows). As an Application with the subsystem Windows doesn’t have standard input/output streams, there is no need for the console to wait for them.
But you can change your application to be a console app and use your existing forms as usual. This link shows an example.