|
-
Jun 30th, 2002, 10:07 PM
#1
Thread Starter
New Member
using linklabel
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
-
Jun 30th, 2002, 10:18 PM
#2
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.
-
Jun 30th, 2002, 10:26 PM
#3
Thread Starter
New Member
no, that still doesn't seem to get it... nothing happens now when i click on the label
hmm...
-
Jun 30th, 2002, 10:37 PM
#4
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|