Information générale
Catégorie:
Contrôles ActiveX en VFP
>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement