>>I had create a system for client maintenace, and my boss wnat to make a phone call from client entry screen, and records the talk-time.
>>
>>I will add a button on client screen layout for call, can you tell me what will do in this CLICK.EVENT. And how to know did the call is connected and the talk-time in this connect.
>
>Your best bet would be to investigate adding a TAPI (Telephony API) ActiveX control to your form to handle the modem and call processing tasks for you. I'm not aware of a specific one to use with VFP; I'd try
ComponentSource, a vendor that specializes in developer products, especially controls and libraries, for a number of languages.
>
>You could do some modem control using MSCOMM32.OCX which ships with VFP; this is an ActiveX control that provides an OLE interface to serial port communications. You could manipulate a modem, but you'd need to know the command set of the modme and how it signals various events back to the PC; the code would be less portable, and would require considerably more work to do than ading a TAPI control in all probability. There are examples here on UT of how to use MSCOMM32.OCX (none that I'm aware of that address your specific needs, but examples of how to use the MSCOMM32 control) as well as the examples in the MSDN documentation.
>
>ed
Sorry = the hyperlink didn't appear properly in the first message; it should be there now.