G
Guest
Hi All
I'm calling an old VB6 program from a C#.NET application using a Process component and I was wondering if the VB6 EXE can return an exit code different than 0
I know I could use the Environment.ExitCode property or even the Environment.Exit method if the called app was written using VB.NET, but I'm not looking to spend several months moving this app to .NET
I'd also rather not mess about with writing exit information to a file or the registry, so does anyone know if it's even possible in VB6? Maybe with a Win32 API call?
I'm calling an old VB6 program from a C#.NET application using a Process component and I was wondering if the VB6 EXE can return an exit code different than 0
I know I could use the Environment.ExitCode property or even the Environment.Exit method if the called app was written using VB.NET, but I'm not looking to spend several months moving this app to .NET
I'd also rather not mess about with writing exit information to a file or the registry, so does anyone know if it's even possible in VB6? Maybe with a Win32 API call?