Results 1 to 4 of 4

Thread: using linklabel

  1. #1

    Thread Starter
    New Member zenimpulse's Avatar
    Join Date
    Jun 2002
    Location
    New York
    Posts
    8

    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

  2. #2
    hellswraith
    Guest
    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.

  3. #3

    Thread Starter
    New Member zenimpulse's Avatar
    Join Date
    Jun 2002
    Location
    New York
    Posts
    8
    no, that still doesn't seem to get it... nothing happens now when i click on the label

    hmm...

  4. #4

    Thread Starter
    New Member zenimpulse's Avatar
    Join Date
    Jun 2002
    Location
    New York
    Posts
    8
    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
  •  



Click Here to Expand Forum to Full Width