Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Dial auto phone number from table and play message
Versions des environnements
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"
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement