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!!!
 
Do this in your click event:

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

TPM
 
Back
Top