Is there a way to know how many class modules are open at one time.
And if so is there a way to find out like if the second one of three was distroyed then I would like to find that number and use its number then.
What I have is a class module that calles the uses of a tcpControl. Well I can't use (example) port 5000 for all 3 class modules right? I would have to change each port number to 5000 plus the number of the next open class module.
Or am I making this alot harder than it should be?
TheKing
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
And if so is there a way to find out like if the second one of three was distroyed then I would like to find that number and use its number then.
What I have is a class module that calles the uses of a tcpControl. Well I can't use (example) port 5000 for all 3 class modules right? I would have to change each port number to 5000 plus the number of the next open class module.
Or am I making this alot harder than it should be?
TheKing
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)