How can you run a button and after executing the code, execute another button within that code?
During a game how do you reload the same form.
Gorf
Printable View
How can you run a button and after executing the code, execute another button within that code?
During a game how do you reload the same form.
Gorf
I dont understand your first question, but your second you would just unload it and the load it again. This function should do it for you :
Code:Public Sub ReloadForm(frmName As Form)
Unload frmName
Load frmName
End Sub
At the end of executing the code on the first button you'd call:
Button2_Click
Where Button2 is the name of the button.
Ok I understand the question now ;)