Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with MSComm control
Message
From
13/06/2001 07:45:40
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00515479
Message ID:
00518772
Views:
20
>>How about letting me see a piece of your FWRITE() code that works? Something very subtle is happening here, and I can't see it in 4 different setups.
>
>**Hit F2 to release record and refresh screen
>IF FWRITE(nComm, CHR( 1 ) + CHR( 65 ) + CHR( 13 ) ) = 0
> MESSAGEBOX( "Couldn't press F2, try again." )
>ENDIF
>

Very simple, isn't it? I cobbled together an interface yesterday so I could peek at the wire with a logic analyzer. In all cases, FPD, VFP6, Procomm for DOS and Windows, put hex 01 41 0D on the wire. In VFP's case, using MSCOMM32, is the DEC returning screen info or a response code or something that you might be missing on the return side? What are the non default settings of the control? What are you doing with the DEC response?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform