> I have an application which starts a J# console application
> I can't seem to find the compiler options to allow this to be minimized.
In the app that starts the console application:
System.Diagnostics.ProcessStartInfo processinfo = new
System.Diagnostics.ProcessStartInfo();
processinfo.set_FileName( "notepad.exe" );
processinfo.set_WindowStyle(
System.Diagnostics.ProcessWindowStyle.Minimized );
System.Diagnostics.Process process = System.Diagnostics.Process.Start(
processinfo );
// process.WaitForExit();
This will start the notepad text editor minimized. If you comment in the
last line, it will hang until notepad is closed by the user.
Regards,
Lars-Inge T?nnessen
www.larsinge.com