Edited by Tigger93, 18 March 2006 - 11:07 AM.
VB Help
Started by
Tigger93
, Mar 18 2006 11:06 AM
#1
Posted 18 March 2006 - 11:06 AM
#2
Posted 18 March 2006 - 11:08 AM
Hey there Tigger93, it depends what you want it to do. Do you want it to go to a diffrent form or do you want a message box to come???
#3
Posted 18 March 2006 - 12:27 PM
Hi spike_hacker_inc, I would like it to go to another form.
#4
Posted 18 March 2006 - 12:37 PM
Ok, start by going to the "project explorer" in VB (This is usually the windows where all your forms are, top right corner) right click and "Add..." a "Form"
By defualt the form will be name "form2". Double click on your command button on form 1. and type in.
=====================
Private Sub Command1_Click()
Me.hide
Form2.show
End Sub
=====================
Thats all it is to it, if you want form 1 to still be visible when you click the button just take out "me.hide"
Cool, anything else???
By defualt the form will be name "form2". Double click on your command button on form 1. and type in.
=====================
Private Sub Command1_Click()
Me.hide
Form2.show
End Sub
=====================
Thats all it is to it, if you want form 1 to still be visible when you click the button just take out "me.hide"
Cool, anything else???
#5
Posted 18 March 2006 - 12:44 PM
Ahh, thanks much!
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users