G
Gene Vangampelaere
In my code I want to open a form to let the user enter his
username/password. When he click on the OK button there will be some
authentication and the I want to return TRUE or FALSE back to the form that
initiated the login form.
How can I do that?
Try
Dim frm As New Loginscreen
frm.Show() '<<--- wait here until the user click OK in the form
???
Return frm.UserSid
Catch ex As Exception
Return AUTHENTICATION_FAILED
End Try
username/password. When he click on the OK button there will be some
authentication and the I want to return TRUE or FALSE back to the form that
initiated the login form.
How can I do that?
Try
Dim frm As New Loginscreen
frm.Show() '<<--- wait here until the user click OK in the form
???
Return frm.UserSid
Catch ex As Exception
Return AUTHENTICATION_FAILED
End Try