Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dial auto phone number from table and play message
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Dial auto phone number from table and play message
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01656673
Message ID:
01656673
Vues:
62
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
Fil
Voir

Click here to load this message in the networking platform