General information
Category:
ActiveX controls in VFP
Title:
Dial auto phone number from table and play message
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only