Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a phone call
Message
From
13/07/2001 09:57:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Sending a phone call
Miscellaneous
Thread ID:
00530220
Message ID:
00530220
Views:
82
I'm new to MSCOMM32. I took some example by doing some searches. I simply what to dial a phone number. I have this code presently:
oPhone=CREATEOBJECT('Form')
oPhone.AddObject('Phone','Olecontrol','MSCOMMLib.MSComm')
oPhone.Phone.CommPort=1
oPhone.Phone.PortOpen=.T.
oPhone.Phone.Output='ATDT123-4567'+CHR(13)
oPhone.Phone.PortOpen=.F.
When I run the program, I see the light changing on my modem but nothing happens. What am I missing?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform