Results 1 to 2 of 2

Thread: Compile error when adding a user control to another user control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Location
    Florida, USA
    Posts
    93

    Compile error when adding a user control to another user control

    I created a user control to handle vendors info (add, updated, etc), now I'm trying to add another user control I created for Ship-methods and once I add the user control to the vendor user control I got this error:

    Compile error:

    Private object modules cannot be used in public obj modules as parameters or return types for public procedures, as public data members, or as fields of public user defined types.


    What is this?....how can I add a user control to another user control?

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Compile error when adding a user control to another user control

    How are you adding the control?
    Can you show us some code?
    When do you get the error?

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