Serial port input for barcode scanner

dwyane123

Member
Joined
Oct 14, 2008
Messages
23
Programming Experience
Beginner
Hi all i need to create an application where input are to be received by the barcode scanner. However, i am not suppose to use the textbox to do so. However i need to use the serial port to do so. Any one know how am i able to do that? Any one have any simple serial port barcode scanner application? .net framework 3.5. vb.net

thanks
 
Last edited:
System.IO.Ports

You can capture serial port data using the System.IO.Ports namespace.

VB.NET:
Private WithEvents _Port As SerialPort

You'll have to open the port and then there is a "DataRecieved" event that you can capture the data.
 
Back
Top