R
Roger Twomey
I am a newbie to windows programming (I have been doing web and SQL for some time). So I have what is probably a very simple question, but of course I don't know the answer.
I have a form, the use clicks a login button, a modal window pops open:
Dim objLoginForm As New frmLogin
objLoginForm.ShowDialog()
They enter a username and password, if it passes validation I want to pass the user ID back to the parent form and close the modal window. I can close the modal window, I just can't figure out how to pass back the UserID.
How would I do that??
I have a form, the use clicks a login button, a modal window pops open:
Dim objLoginForm As New frmLogin
objLoginForm.ShowDialog()
They enter a username and password, if it passes validation I want to pass the user ID back to the parent form and close the modal window. I can close the modal window, I just can't figure out how to pass back the UserID.
How would I do that??