Found a side solution. It is not programatic solution, but more how the user must run the application from command line mode.
The application must be run with the
START /WAIT
We added this to our Application Help message to clarify to the user.
If anyone know a way to solve this via code...
I have a windows application that can also be run as a console application. (using AttachConsole(process.Id)
Both work fine if I run the console via a batch file.
However, if I run the application straight from the commandline I get the following error when I enter a input:
Coninue Installing...
Thanks for the info and view points..
I spent most of yesterday wading thru the code and determining what class vars needed to be destroyed in the class_terminate method.
Was able to do a ton of clean up.. And yes, they were setting and object to nothing and then creating it again..
Code is...
I know there was some debate on whether you should set it to nothing or let VB take care of it.. However it is part of our company coding standards to set the object to nothing when done.
1. Do I need to check if the object exists before setting to Nothing? (more obvious in class vars).
If NOT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.