|
-
May 27th, 2003, 01:00 PM
#1
Thread Starter
Lively Member
unloading controls
Hi guys. A little question:
I have a control array (winsocks). I load 3 more winsocks, and later, I unload the 2nd winsock, so I'll have.
Winsock(0) exists
Winsock(1) exists
Winsock(2) doesn't exist
Winsock(3) exists
Later, I need to know something about each one with a loop. How could I know if any of my elements has been unloaded?
I've tried comparing: If not winsock(i) is nothing then... but it says that the element 1 of the control array doesn't exist. Any way to figure out this?
Thanks
-
May 28th, 2003, 05:55 PM
#2
You may have already solved this problem. You can do a For Each statement on a control array.
VB Code:
Dim ctlWinSock As Winsock
For Each ctlWinSock In Winsock
Debug.Print ctlWinSock.Index
Next
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|