|
-
November 22nd, 2004, 10:00 PM
#1
Two Forms problem
I am trying to make an MDi app. First of all a login form comes in and asks for username and password, if correct loads the main MDI container form. But I want as soon as the main form is displayed, the login form should be unloaded,
I use, ( I am using sort of pseudocode)
if (password and username ) are correct THen
dim frmMain as new frmMDIFORM
frmMain.show
frmLogin.dispose
else
Write "Password is Incorrect"
end if
Note that frmLogin is my startup form. But when the pw/username are verified, frmLogin terminates the entire app. (doesn't show frmMDIMAIN form)
HELP
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|