-
Multiple Modems
I am trying to write a program using multiple modems. I need events for each of the modems so I run code every time a modem recieves a call. I am using the Comm component from SaxComm. The problem I am having is that I have to have an individual Comm object for each modem, but the number of modems will be changing frequently. I cannot figure out how to dynamically declare comm objects in my code. The WithEvents statement would work if it would let you make it an array. Is there any way to get around that, or something else I haven't thought of?? Thanks for any help you can give.
-Dan
-
Re: Multiple Modems
I'm not familiar with that control, but if it has a index property and you set it to zero you should be able to load multiples just as you would any other control ie.
load ControlName(1)
load ControlName(2)