Hai pals,

Even after executing the code this code, my application exe is still running in the task manager?

Code:
Option Explicit

Private Sub cmdExit_Click()
 Dim frm As Form
 For Each frm In Forms
   If frm.Name <> Me.Name Then ' Unload this form LAST
     Unload frm
     Set frm = Nothing
   End If
 Next
 Unload Me
End Sub

what can be the problem?