Visual Basic Explorer
Visual Basic Explorer
 Navigation
 Home


 Coding
 Source Code

 FAQ Center

 VB Tips

 Downloads

 ToolBox

 Tutorials

 VB Games

 VB News

 VB Award

 VB Forums



 Affiliates
 Planet Source Code

 Rent a Coder

 DirectX4VB


 Misc
 Search

 Feedback

 Advertise

 About


Need to hire
a VB coder?

Please support our sponsor:

 Home 
 Site Map 
 Forums 
 News 
 Feedback 

 

'------------------------------------------------------
'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 View Plain Text
Download Demo Project Not Available
View Code Online Not Available





Home | About | What's New | Source Code | FAQ | Tips & Tricks | Downloads | ToolBox | Tutorials | Game Programming | VB Award | Search | VB Forums | Feedback | VBNews | Copyright & Disclaimer | Advertise | Privacy Policy |

Quick searches: Site Search | Advanced Site Search 

Copyright 2002 by Exhedra Solutions, Inc.
By using this site you agree to its terms and conditions
VB Explorer and VBExplorer.com are trademarks of Exhedra Solutions, Inc.