@krumia thanks for a short reply..but i have to call or name all the functions i.e
If rowsEffected > 0 Then
2
cnMySQL.Close()
3
MainForm.Show()
4
LoginForm1.Close()
5
Else
6
cnMySQL.Close()
7
MsgBox("Login Failed!")
8
End If
what should i do.it didn't work..pls help...
see my first form is very simple i. e login details thats it. so after login my login details form should hide when second form opens