CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Multiple Modems

  1. #1
    Join Date
    Sep 2001
    Posts
    1

    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


  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    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)





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

Featured