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
 
Back
Top