Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCOMM32.OCX Problem.
Message
From
11/03/1997 17:12:32
 
 
To
11/03/1997 16:30:43
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00023767
Message ID:
00023801
Views:
30
Hi Per
This code in method :
Thisform.Command1.Click,
(createobject and add() i am write for footnote)

if I am deleting string ThisForm.TestCom.PortOpen=.F.
Problem is stay :(
Denis

>Hi Denis
>
>Is this code in a .prg file??
>
>If so I think the code is executed and the:
>ThisForm.Testcom.PortOpen = .F.
>is run before the modem recieve the dial string
>
>Per
>
>
>>Hi All.
>>I want use modem in my application.
>>I am write follow code:
>>
>> ***** Top Code*****
>> ComForm = CREATEOBJECT('Form') ComForm.AddObject("Testcom","Olecontrol","MSCOMMLib.MSComm")
>>
>>ThisForm.Testcom.CommPort = 2
>>ThisForm.Testcom.Settings = "28800,N,8,1"
>>
>>ThisForm.Testcom.PortOpen = .T.
>>ThisForm.Testcom.InputLen=0
>>ThisForm.Testcom.Output = "ATDP2559902" + chr(13)
>>
>> ThisForm.Testcom.PortOpen = .F.
>> ***** End Code *****
>>
>>But my modem do't deal... :(((.
>>Other property mscomm32 default.
>>Thanks.
>>Denis.
Previous
Reply
Map
View

Click here to load this message in the networking platform