>>Hi!,
>>Could anyone help me ?
>>1. how to open communication (COM2) in Vfp50 with windows95,
>>I tried with =FOPEN("COM2",1) but there is no response at all (return -1).
>>I think there is a problem with wind95, If I tried in c:\ (dos) with command :\
>>- c:\>mode com2 96,n,8,1
>>- c:\>type con>com2
>>- Test Com2 in Led Display POS
>>- Test Com2 in Led Display POS
>
>Hi
>Take a look on the activeX control (comm32) from M$ it work good and
>you can get a help file on this control on your CD ROM (VFP 5.0 Cd Rom)
>
>Rocky Boy...
I allready pu olecontrol1 into my form (mscomm32.ocx), then I also pu command button into
it also. In click event command button :
thisform.olecontrol1.portopen=.t.
thisform.olecontrol1.output="Test"
There is an error while I click the button :
- OLE ERROR CODE 0x800ALF45;UNKNOW OLE STATUSCODE
in line thisform.olecontrol1.portopen=.t.
Then I Ignored this things :
- OLE IDISPATCH EXCEPTION CODE O FROM MSCOMM:OPERATION VALID ONLY WHEN THE PORT IS OPEN
Any idea?
Thank's
Andri Thaslim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only