Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do the number of phone by VFP
Message
From
26/03/1998 07:47:36
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
 
 
To
24/03/1998 01:39:20
Annibale Freda
Freda Annibale
Rome, Italy
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00086183
Message ID:
00087241
Views:
41
Use Microsoft Communication control (MSCOMM32.ocx) to open port with modem atached to it and send command to modem :

MS comm control object name in form is comm

comm.settings='9600,n,8,1'
comm.commport=2 & for modem conected on COM2
comm.openport=.t. & for command to open port COM2
if !comm.openport & test if port opened succesfuly
=messagebox('..... & prompt user for fail command
return
endif
comm.output='ATDT092346626' & to dial the number you want

string for output came from database, text control or any other way

comm.openport=.f. & close port

Commands for modem are listed in modem book.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform