CB
Clay Burch
Syncfusion Team
June 4, 2002 04:17 AM UTC
Here is something to try.
Move your Login code from the Main sub where I suspect it is now, a handler for the Load event on your frmMain. Then if your login fells, just close the frmMain from within its Load handler. This way, the scope of your login form should be contained within the Load handler, and it should not stay on your desktop.