D
DraguVaso
Hi,
I want a Login-form that, once the username and password are validated,
opens a new Form (of the 'main'-application), and closes itself.
I tryed it like this: putting the following code in the click-event of the
login-button of my Login-form:
Dim frmAG As New frmAgent
frmAG.Show()
Me.Close()
Thios opens the new form (frmAgent), but at the "Me.Close" it not only
closes my login-form, but also the new openend frmAgent!
Does anybody knows how I'm able to open the frmAgent and close the
login-form? I guess this msut be very easy but I'm not abvle to find it :-/
Thanks a lot!
Pieter
I want a Login-form that, once the username and password are validated,
opens a new Form (of the 'main'-application), and closes itself.
I tryed it like this: putting the following code in the click-event of the
login-button of my Login-form:
Dim frmAG As New frmAgent
frmAG.Show()
Me.Close()
Thios opens the new form (frmAgent), but at the "Me.Close" it not only
closes my login-form, but also the new openend frmAgent!
Does anybody knows how I'm able to open the frmAgent and close the
login-form? I guess this msut be very easy but I'm not abvle to find it :-/
Thanks a lot!
Pieter