Results 1 to 2 of 2

Thread: Creating "Virtual Control"

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Finland
    Posts
    12

    Question

    I was playing with Winsock and noticed one thing of my skills. How to create Winsock controls 1 to 100 (Winsock1(0) ... Winsock1(100)) without copy'n'paste method.
    I know, that there is a way, but what is it?
    dim Winsock1(1 to 100) as new Winsock ??? Or something?
    I need help with this Can someone help
    GAMES, PROGRAMS, ACTIVEX CONTROLS!
    ALL, WHAT WE NEED

  2. #2
    Guest
    Use a control array:

    Place one winsock control on the form, set the index property to 0 and name it winsocks

    and then:
    Code:
    For n=1 to 100
      Load Winsocks(n)
    Next n
    And you're done.

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