every time i exit from the application that i made with VB its name still stay in the TASK WINDOWS so i cant open the application again
Printable View
every time i exit from the application that i made with VB its name still stay in the TASK WINDOWS so i cant open the application again
Could be a various number of things.
Have you any references to Dll objects etc. If so you should be setting the refernce to nothing on Form Unload. You should do this anyway, for all objects.
Database connection need to be closed and the refrences set to nothing.
Is there a loop still running in the background. Often occurs if you have a DoEvents in the middle of a loop, and the user quits the program.
Code:'put this in all your exit routines
Dim Form As Form
For Each Form In Forms
Unload Form
Set Form = Nothing
Next Form