hi all,
I have the main application that uses the Process API to call the another application from the main application.Application called is the console application.Code is have used is,
newUpload = new Process();
ProcessStartInfo StartInfo = new ProcessStartInfo();
StartInfo.FileName = "Program Files\\consoletestapp\\ConsoleTestApp.exe";
StartInfo.Arguments.Insert(0, DataBase.ApplicationPath + "\\XmlFiles");
StartInfo.UseShellExecute = true;
newUpload.StartInfo = StartInfo;
newUpload.Start();
ProcessRunning = true;
newUpload.EnableRaisingEvents = true;
newUpload.Exited += new EventHandler(newUpload_Exited);
i want that if i close the main application, if the console application is running then it should not b stopped. i want some mechanism that allows the console to be running even if the main application is closed. if it is not possible,then sum way tht main application hides and wait for the console to complete and then gets stopped automatically.
Any idea, any clues would b of gr8 help.
thanx in advance

Thread problem