B
Bob
I haver a user login form (winforms app using vs2005 in VB.NET). After
succesfull validayion of user I want to open a first form and close the
loging form that was used, If I write
If IsValidatedUser(UsernameTextBox.Text, PasswordTextBox.Text) Then
frmCompanySelect.Show()
End If
Me.Close()
This closes the app. If I write
If IsValidatedUser(UsernameTextBox.Text, PasswordTextBox.Text) Then
frmCompanySelect.ShowDialog()
End If
Me.Close()
This opens the form modally but the login form stays in memmory and visible.
How can I open the new form, close the login form (unload it from memory to
get minimum ressource utilisation) and keep the app running?
Any help appreciated,
Bob
succesfull validayion of user I want to open a first form and close the
loging form that was used, If I write
If IsValidatedUser(UsernameTextBox.Text, PasswordTextBox.Text) Then
frmCompanySelect.Show()
End If
Me.Close()
This closes the app. If I write
If IsValidatedUser(UsernameTextBox.Text, PasswordTextBox.Text) Then
frmCompanySelect.ShowDialog()
End If
Me.Close()
This opens the form modally but the login form stays in memmory and visible.
How can I open the new form, close the login form (unload it from memory to
get minimum ressource utilisation) and keep the app running?
Any help appreciated,
Bob