Can anyone please check what is wrong?

liziskandar

Member
Joined
Sep 21, 2005
Messages
19
Location
Malaysia
Programming Experience
Beginner
1. I want to ensure this is really working.

2. I don't know how to link the splashscreen to loginform.

3. Why everytime after i put username & password, then click login button a blank form will appear before main form?


Thanks in advance
 
Last edited:
I think it could be because of this line:

VB.NET:
 Dim frmMain As New Form ' this line declares a variable that will point the user to the Main Screen upon a successful login.  The second form created is called MainScreen.vb

That would make the variable frmMain a blank form, and therefore create a blank form when you do fmain.show()


Instead try:
VB.NET:
Dim FrmMain as new FrmMain


FrmMain.show

:)
 
Back
Top