Results 1 to 4 of 4

Thread: [RESOLVED] Help referencing a control as a string to get around no control arrays

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2007
    Posts
    63

    Resolved [RESOLVED] Help referencing a control as a string to get around no control arrays

    Hello,

    I am trying to get around the lack of control arrays. I have 4 list boxes that I am trying to reference and add items to. VB6 had a cool controls function like the following.

    Controls("List" & 1).AddItem ("Test")

    I can't for the life of me figure this out in VB 2005.

    Any help would greatly be appreciated.
    Last edited by Mythos44; Nov 1st, 2007 at 03:38 PM. Reason: [RESOLVED]

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