geez, i'm dumb! Did not do desktiop applications in a while, and creating one now.

Want the app to start with this little login form i created. User enter password & username. Message box if invalid (database code and all that working fine), or "redirect" to the main form if all is ok.

of course want the stupid login form to close...uuurgh. But if i say "this.close()" then hte application close. If i say this.hide() then the application does not close when you close the main form.