Assuming the phone line carries the information for caller ID , can I use a modem and VB to capture the incoming phone number and use it to look up a record in a database?
Thanks
Bob
Printable View
Assuming the phone line carries the information for caller ID , can I use a modem and VB to capture the incoming phone number and use it to look up a record in a database?
Thanks
Bob
Yes. In fact, you can use VB to create your own callerID window.
A book I have called "Special Edition Using Visual Basic 6" contains code for a CallerID program. I have the code for the entire project, but it's much too large to put here. If you want, I will email it to you.
Alternatively, you could go to their site and download all the sample projects from the book. The URL is:
http://www.mcp.com/info/0-7897/0-7897-1542-2/
Then download source.exe, which is a self-extracting program that will install all the sample source code from the book into a folder. The code for the CallerID is in the folder:
C:\...\SEUsing VB 6\Chapter 23\Callid\
Hope that helps!
~seaweed