Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dial auto phone number from table and play message
Message
From
22/12/2017 08:23:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Dial auto phone number from table and play message
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01656673
Message ID:
01656673
Views:
60
Dial auto phone number from table and play message...by yousif

How this possible ..
these codes are dialing successful
but should be play message when other side phone pick
and when message complete dial other number...............

thanks


Declare Long tapiRequestMakeCall In ;
"TAPI32.DLL" String tcPhone, String nothing, String nothing2, String nothing3

*= SQLEXEC(kpshandle,"Select * from student where code=?mtxt_CODE","studenth")

= SQLEXEC(kpshandle,"Select * from student where code='002005'","studenth")


*
scan


RetVal = tapiRequestMakeCall(ALLTRIM(studenth.rtel), "KPS calling :", ;
ALLTRIM(studenth.descr),"")




if Retval=0 &&successfull
local message
message="Hi You are invited to send your photograph " &&to compose here-can insert fields from table....

local m.o
m.o=CreateObject("SAPI.SpVoice")
m.o.Speak(message)
m.o=null
endi



endscan
CLEAR DLLS "tapiRequestMakeCall"
Next
Reply
Map
View

Click here to load this message in the networking platform