arshadjehan
November 22nd, 2004, 09:00 PM
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 :(
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 :(