link two forms

shelly121

Member
Joined
Feb 17, 2005
Messages
15
Programming Experience
Beginner
hey, ne1 help me, im not that gud at vb.net yet and basically i dont know how to link two forms up, would it just be something like:

btnSearch = formSearch ?? so that the button on frm 1 goes to the form called FormSearch???

thanks if ya can help me!!!
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
Do this in your click event:

VB.NET:
dim MySearchForm as new formsearch
MySearchForm.show

TPM
 
Top Bottom