VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 307,222 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,658 people online right now. Registration is fast and FREE... Join Now!




Cant show form Modally

 

Cant show form Modally, form already displayed, cant show modally

ALVINCHAAND

21 Aug, 2008 - 05:55 AM
Post #1

New D.I.C Head
*

Joined: 17 Aug, 2008
Posts: 18

Hi,
I have a login form. when the user enters a wrong password/username he is redirected to themain page where he can choose if he wants to log in as a user or an administrator.
Problem is that when i run it, i keep getting Run time error 400
it says that the form is already displayed and cant be shown modally
I dont know what that means.... can anyone enlighten me and help me out?

Thank you
[code]

Private Sub CMD_ADM_Click()
ADMIN_LOGIN.Show <<error points to this line!
Unload Me
End Sub

Private Sub CMD_USER_Click()
ISDR_MAIN_MENU.Show
Unload Me
End Sub



User is offlineProfile CardPM
+Quote Post


Posts in this topic
ALVINCHAAND   Cant show form Modally   21 Aug, 2008 - 05:55 AM
selvakkk   Hi, The ADMIN_LOGIN form may shown already. So you...   24 Aug, 2008 - 05:04 PM

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:44PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month