i'm trying to use linklabel to link to another form, but I keep getting "Reference to a non-shared member requires an object reference." the label is already created, how can i simply link it?
i tried form2.show()
but i get the error message
Printable View
i'm trying to use linklabel to link to another form, but I keep getting "Reference to a non-shared member requires an object reference." the label is already created, how can i simply link it?
i tried form2.show()
but i get the error message
Dim frmTemp As Form2
frmTemp.Show()
Try that... Form2 is a class, you need to create an instance of that class, then you can show it.
no, that still doesn't seem to get it... nothing happens now when i click on the label
hmm...
i can get it if i use a button, but the original window stays active. (i tried me.close but that only closed everything when i clicked on the button) how can i get form2 to show using the label?
(by the way, another label works for "end" i just put end in it's label2_click code