----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Grincik50 Message 1 in Discussion Hi, I have a routine that checks if the specified (by name) process or same process is already running, if so the program exits out. Everything warks fine most of the time but every once in a while I get the following error: System.InvalidOperationException: Cannot process request because the process (2520) has exited. at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) at TFAClass.prcInformation.isPrcExists() at TFAClass.prcInformation.isSamePrcRunning() at GTSOutGtsBuilder.GTSOutGtsBuilder.Main() Or this: System.InvalidOperationException: Cannot process request because the process (2424) has exited. at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId) at System.Diagnostics.Process.get_Modules() at System.Diagnostics.Process.get_MainModule() at System.Diagnostics.Process.get_ProcessName() at TFAClass.prcInformation.isPrcExists() at TFAClass.prcInformation.isSamePrcRunning() at GTSOutIccMapper.GTSOutIccMapper.Main()' Any help will be appreaciated Thanks ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
