Results 1 to 4 of 4

Thread: Multiple Instances

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Multiple Instances

    Hello,

    Is it possible to have multiple instances of this control on a form? I've been trying to use a control array (using; load ctrlUserControl(1)) and this is causing an error and crashing VB.

    Thanks

    Laurence

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Multiple Instances

    Of course you can have multiple instances of a control, how on earth would you have two text boxes?

    If you mean a specific control that has possibly been modified (not sure how tho) to only allow one (license *shrugs*) then which control are you talking about.

    btw, make sure your first control has an index of 0 already setup before, you cant create the array on the fly.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Re: Multiple Instances

    I posted this in the wrong place....sorry. I clicked 'New Thread' rather than 'reply'

    Apologies to all....

  4. #4
    New Member
    Join Date
    Jul 2006
    Posts
    1

    Re: Multiple Instances

    Is The Control name ctrlUserControl in your form is valid with index 0
    If so it works fine

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