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

    Reading phone number using MS Comm Activex Control


    Please tell me how can i read my own phone number from my modem using MS-Comm control.


  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: Reading phone number using MS Comm Activex Control

    1. Forget "MS-Comm control" exists (unless you program something in VB). Use Windows API to program serial communications, it is not so complicated: see this example.
    2. To read information from modem you will need to use AT commands, so you will need to find and read documentation about AT commands your modem supports.
    3. To read the phone no. from SIM card the AT command AT+CNUM is used. Note that not all providers support this command. Note also that before sending it you must properly activate your modem and SIM card.
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

By using this site, you agree to the Privacy Policy