Having created an application object in code. How can I get the application to remain open after the vb code has completed ie. release the control of the application from vb to the application itself?
Printable View
Having created an application object in code. How can I get the application to remain open after the vb code has completed ie. release the control of the application from vb to the application itself?
Welcome to the forums. :wave:
Your question is confusing.
1. You have an application
2. You need to keep it open after the vb code has completed and released control of itself to itself. :confused:
He's created an application object in code.
My guess is you are creating an instance of Notepad or Excel or another program, showing it on screen then wanting to exit your vb program after this has displayed on screen?
In which case You're probably calling some code which destroys the application object (i.e. Notepad/Excel etc.), prior to closing your vb app. Can you post your code please?