Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
A messagebox, in that case, will only give you what is presently in the input buffer. Might be 1,2,10 whatever characters. Instead, buffer the data in a form property and bind that to an editbox for testing.
Create a form property - inbuffer.
Add an editbox to your form - editbox1.
Set editbox1's controlsource to thisform.inbuffer.
In your OnComm event add the following code:
thisform.inbuffer = thisform.inbuffer + THIS.INPUT
and tell me what ya got ;-)
>It is MsgBox msComm1.Input in the OnComm event.
>
>>There must be at least one line of code somewhere to extract the data from the control - even in VB. Where is it?
>>
>>>There is no code. I am using all default values except RThreshold that set to 1.
>>>Exact same replica works fine in VB.
>>>
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