-
February 8th, 2010, 03:36 AM
#1
Reading phone number using MS Comm Activex Control
Hi,
Please tell me how can i read my own phone number from my modem using MS-Comm control.
Thanks,
Joe
-
February 8th, 2010, 04:07 AM
#2
Re: Reading phone number using MS Comm Activex Control
- 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.
- 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.
- 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|