Results 1 to 6 of 6

Thread: What's wrong with this? "a module is not a valid type" ERROR (RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2002
    Posts
    196

    What's wrong with this? "a module is not a valid type" ERROR (RESOLVED)

    I get an "a module is not a valid type" error when I try to compile this code. Can I not pass a label to a function?

    VB Code:
    1. Private Function SetLabel(CT As String, lbl As Label)
    2.     lbl.Tag = CT
    3. End Function
    Last edited by brandoom; Jul 15th, 2004 at 12:40 AM.
    Brandon S Davids

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