Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a phone call
Message
From
13/07/2001 11:32:03
 
 
To
13/07/2001 11:29:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00530220
Message ID:
00530303
Views:
30
>>I'm new to MSCOMM32. I took some example by doing some searches. I simply what to dial a phone number. I have this code presently:
>>
>>
>>oPhone=CREATEOBJECT('Form')
>>oPhone.AddObject('Phone','Olecontrol','MSCOMMLib.MSComm')
>>oPhone.Phone.CommPort=1
>>oPhone.Phone.PortOpen=.T.
>>oPhone.Phone.Output='ATDT123-4567'+CHR(13)
>>oPhone.Phone.PortOpen=.F.
>>
>>
>>When I run the program, I see the light changing on my modem but nothing happens. What am I missing?
>
>Michel,
>If what you intend is to invoke dilaer you could use this routine :
>
>
Declare long tapiRequestMakeCall IN "tapi32.dll" ;
> string lpszDestAddress, ;
> string lpszAppName, ;
> string lpszCalledParty, ;
> string lpszComment
>RtnVal = tapiRequestMakeCall(lcPhone, 0,0,0)
Cetin

No, that will be run by a robot. The main goal is to send a voice mail.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform