Results 1 to 5 of 5

Thread: Vb Dll [RESOLVED]

  1. #1

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Vb Dll [RESOLVED]

    See next post
    Last edited by Kasracer; Aug 2nd, 2003 at 06:44 PM.

  2. #2

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Actaully, now I got a question...

    I got a namespace in my dll project which contains several classes, each class containing functions and subs.

    Now when I try to access them, I can access everything BUT the functions and I get this error:
    VB Code:
    1. D:\VB .NET\Binary Edit\frmChild.vb(378): Reference to a non-shared member requires an object reference.

    What exactly does that mean? I'm still new to the DLL creation and VB .NET
    Last edited by Kasracer; Aug 2nd, 2003 at 04:23 PM.

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Did you mark these functions as Public Shared ?

  4. #4

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Pirate
    Did you mark these functions as Public Shared ?
    THANKS!

    I seriously don't know *** is wrong with me today.... I was SO certain I made them all public shared cause I've used this before, but parrently I didn't!

    UGH

    Thanks for catching my stupid mistake, lol

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    No prob.

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