Page 1 of 1
Visual Basic Question
Posted: Wed Feb 25, 2004 11:34 am
by Neo
I have a VB question. Ive used a login form as the startup form in my app after checking i 'show' the next form and 'hide' the login form. using
Code: Select all
If loginCorrect Then
qFrm.Show
Me.Hide
End If
This works fine but then when i close this 'qFrm' the application closes but the buttons on the VB-IDE show that the app hasnt terminated i.e the 'Run' button is still de-activated. I have to manually push the stop button to continue editing. What could be the problem? How can i close the app fully
Re:Visual Basic Question
Posted: Wed Feb 25, 2004 4:09 pm
by Neo
I know that VB isnt exactly the best of languages but i really needed this app in a jiffy.It works fine except for the problem ive specified above. I hope someone here uses VB or at least knows the way to use diiferent forms in an app with VB.
Re:Visual Basic Question
Posted: Wed Feb 25, 2004 11:26 pm
by Candy
Neo wrote:
I know that VB isnt exactly the best of languages but i really needed this app in a jiffy.It works fine except for the problem ive specified above. I hope someone here uses VB or at least knows the way to use diiferent forms in an app with VB.
hiding a form is not closing a form. If you open multiple forms, you must also Close() them. Try Close()ing the other form in the Form.Close() of the second one.