How to Load one form from another

I am learning basics of VB. I have two forms one of which have command button and other have label describing some information. I want, when user hits that perticular command button on first form then assigned code to that button should load other form showing described information on lable.
skpd1978Asked:
Who is Participating?
 
vinnyd79Connect With a Mentor Commented:
Private Sub Command1_Click()
Load Form2
Form2.Label1.Caption = "Label Data !!!!"
Form2.Show

End Sub
0
All Courses

From novice to tech pro — start learning today.