Alan,
What do you exactly want to do?
You can set the WindowStyle property to Hidden from the properties
sheet to hide the window completely.
this.process1.S tartInfo.Domain = "";
this.process1.S tartInfo.FileNa me = "notepad.ex e";
this.process1.S tartInfo.LoadUs erProfile = false;
this.process1.S tartInfo.Passwo rd = null;
this.process1.S tartInfo.Standa rdErrorEncoding = null;
this.process1.S tartInfo.Standa rdOutputEncodin g = null;
this.process1.S tartInfo.UserNa me = "";
this.process1.S tartInfo.Window Style =
System.Diagnost ics.ProcessWind owStyle.Hidden;
this.process1.S ynchronizingObj ect = this;
The above auto-generated code will launch notepad.exe but the window
and taskbar icon will not be visible.
Is this what you want?
Alan T wrote:
How do I make it does NOT appear on the task bar when it is started?