Annoying Console Window

  • Thread starter Thread starter Steve Scott
  • Start date Start date
S

Steve Scott

I've got an app that uses windows "net send" command, and the console window
keeps flickering up to run the command when I execute the function. Is
there anyway to prevent it from showing up?

Thanks
 
How do you start the command?

There is a "CreateNoWindow" property for the "ProcessStartInfo" class.
 
Hello Steve,
Just do the following.
Process.CreateNoWindow = true;

Regards,
Bhavya Shah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top