Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Phone number ID

Status
Not open for further replies.

hdam

Programmer
Oct 28, 2001
30
AR
Hello.

Excuse my english. My language is spanish

I have the telephone number id service. For a customer I would like to (actually HE would like to...) capture the number by programming (VFP 5.0) Is this posible in VFP environement: Opening the modem, reading the number?

I tried opening the modem with "open" but VFP tied me... It won't work (I only tried reading "anything" from the modem)

Well. If anyone can help I will thank very much.

Héctor
 
Hector;

There is a Active X component available that might work in your situation.
Follow this link ==>
Do not apologize for your english. You do better than some people who speak english!

Ed


Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
I thank you very much, Eguy but

1) They tried to sell me a product with "a demo program"

2) From the day I opened that web page and instaled their program strangers advertising windows begin to appear on my navegator...

What I search is to know if there is any possibility of obtain the number without additional software.

Thank you

Héctor
 
I know this isn't very helpful, but it is a lead indicating that the Windows modem driver probably supports Caller ID (provided the modem is capable of it):

With a little effort, you can probably find a TAPI "get status" function that will return info about the current call, including the Caller ID.

- Bill

Get the best answers to your questions -- See FAQ481-4875.
 
In TAPI v2.? the LINECALLINFO structure (
) is returned by a call to lineGetCallInfo (
). For info on calling API functions with structures, see:
This page indicates that the TAPI v3 replaces the TAPI v2 method above:
(Here's the complete TAPI v2-to-v3 cross-reference:
)
It seems to me that the v3 interface is described as C++ classes, while the v2 interface is simple API function calls: I expect you can use the v2 interface and ignore the v3 interface... I personally don't know of any way to access C++ classes from within VFP (If anyone knows otherwise, I'd love to hear...)

- Bill

Get the best answers to your questions -- See FAQ481-4875.
 
Hi,

There is a sample form to download at callid.zip download id = 1, but I didn't try it.
Do you need to know who's calling you over the phone? Does your phone company offer you caller id? Do you want VFP to alert you when your mother in law is calling you? This sample form uses the MSCOMM Active-X control and your modem to receive the caller id data. This sample form is very basic and does not have any error handling stuff. You will need to adjust the code for use with your phone company. Code written by Eric den Doop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top