JacobTechy
Programmer
vb6sp6 installed application stuck in task manager/memory after closing it and I cannot open it and of course it triggers the code I put in the form load function
I close the application with an exit button or the X and then calling this function.
Any ideas what the problem could be?
Code:
If App.PrevInstance = True Then
MsgBox "This program is already running!", vbExclamation
Unload Me
Exit Sub
End If
I close the application with an exit button or the X and then calling this function.
Code:
Public Sub EndProgram()
Dim frm As Form
For Each frm In Forms
Unload frm
Set frm = Nothing
Next frm
End Sub
Any ideas what the problem could be?