How do i make command buttons like, Next take me to the next form?
How to make buttons go to next page in Visual Basic 2008?
I usually do this by showing and hiding the forms.
For example:
Dim nextForm as New Form2
Me.Hide
nextForm.ShowDialog(Me)
Me.Show
I use ShowDialog so that execution of code will not continue until 'nextForm' is closed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment