Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Phone Dial from Visual Fox-Pro
Message
 
To
19/12/1996 08:46:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00015597
Message ID:
00015617
Views:
37
>If anyone have any expirience with dialing phone from Visual Fox-Pro, please send me some ideas on how can I press a button in form and have phone dialed in background. I have tryed WIN95 Phone dialer, but I hope where is better solution out there..., Phanks ahead...

Got this code from Microsoft Knowlege base

PUBLIC ComForm
ComForm = CREATEOBJECT('Form')
ComForm.AddObject("Testcom","Olecontrol","MSCOMMLib.MSComm")
ComForm.Testcom.CommPort = 2 && Use Comm2, The second Serial Port.
ComForm.Testcom.Settings = "14400,N,8,1" && 14.4 Kbaud, No Parity,
&& 8 data Bits, 1 Stop Bit
ComForm.Testcom.PortOpen = .T.
ComForm.Testcom.Output = "ATTD555-1234" + chr(13) && Dialing the number
* The chr(13) is needed to complete the modem command sequence
ComForm.Testcom.PortOpen = .F.


You will need MSComm OCX. This is included in MS VFP distribution kit.
Previous
Reply
Map
View

Click here to load this message in the networking platform