'------------------------------------------------------
'How To: Read the receive buffer for a specific text string?
'Posted: July 1998
'From: "Robert L. Walsh" rlwalsh@capecod.net
'------------------------------------------------------
Q. How do I write a subroutine to read the receive buffer or a
text box object (used in a terminal program) for a specific text
string?
I would like to write test conditions based on what is read from
any of these objects to provide proper error checking. This would
give the user a more accurate and user friendly program responce
after user input has been made.
A. Are you aware that you can set the KeyPreview property to True
for any form and thereby check keyboard characters _before_ any of
the form`s controls receive the character? You can also set the key
code to 0 to erase it. Place your validation/ error-checking code in
the Form_KeyPress event and in the Key_Down or Key_Up events.
Downloads
In IE right-click and select 'Save Target As...' or in Netscape
right-click and select 'Save Link As...'
View Plain Text
Not Available
Not Available