954,559 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Bar code reader in Vb

hi every one ,
i developed a software in VB but i cant access the bar code reader in the s/w .so pls help me ....
by Abin

abinmd
Newbie Poster
1 post since Mar 2009
Reputation Points: 10
Solved Threads: 0
 

Try doing a search on the forums, there are plenty of similar threads about - some of which have responses.
You haven't given us much information to go off really as there are different connection types (PS/2, USB, RS232 etc) which makes a big difference to how they are used.
If you can't find your answer via the other threads that you find in a search, post back a bit more information about your scanner (Make, Model, connection type) and we'll try and help.

jonifen
Junior Poster
152 posts since Nov 2007
Reputation Points: 13
Solved Threads: 17
 

barcode reader work very straight forward , just as an keyboard.

once you read the barcode using the device it directly inputs the code to the control (ex textbox) having focus.

What you need to do is process the data further as per your business logic.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

@Debasisdas - At my last place of work, they used scanners with an RS232 interface.
These didn't work in the same way as the PS/2 and some USB scanners and we had to use an ActiveX control for the EPoS system to pick up the data from the scanner.

Most scanners are like keyboards in that way though - for people to be having problems, I'd like to think they've already tried using the scanner in that way first before posting although I'm probably right in thinking most posts are related to homework that they don't really want to put the effort into themselves!!

jonifen
Junior Poster
152 posts since Nov 2007
Reputation Points: 13
Solved Threads: 17
 

barcode reader work very straight forward , just as an keyboard.

once you read the barcode using the device it directly inputs the code to the control (ex textbox) having focus.

What you need to do is process the data further as per your business logic.

hi brother,

how to use barcode scanner in vb ?

just give me methods to accesss the barcode ?

In which barcode scanner is best ?

i dont know about that ?

help me

bye

bala

vishvaabala
Newbie Poster
5 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

as already discussed you just need to use that as a plug play device like any keyboard.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Start new project, add text box, make sure text box has focus when you run it, scan something...

Good Luck

vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You