Read phone calls recieved or sms

Hi, I'm new to here.

I'm using VBA in msaccess to develop a program that i need.
In this program i also need a function that is able to read recieved messages (i only find code for vbnet in the guide but it doesnt work in vba) and be able to recieve calls, drop them after having read the calling number.

How do i manage to do this, and what components should i use?

Can you post a sample code for VBA (MS ACCESS) ?

Thanks in advance.

Kurumi's picture

Hi,

You can use GXSMS component to read received SMS messages. There is a VB 6 sample included that might be useful to you.

If you want to know receiver's phone number you can use GXSerial component.

1. Open connection. serial1.Open
2. Enable the caller ID feature
AT+CLIP=1;+CRC=1

serial1.Send("AT+CLIP=1;+CRC=1\r\n")

3. Try to call.

Happy coding,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi