|
-
Sep 21st, 2000, 08:46 PM
#1
Thread Starter
New Member
I have been given the challenge of creating a new app using VB6.0. This app needs to have the ability to scan products to decrement stock levels, and create sales slips. My problem is I don't know where to start! How does one create an app that can be used with hand held scanners? Any pointers greatly appreciated.
THIA
-
Sep 21st, 2000, 10:13 PM
#2
Frenzied Member
The way barcode scanners work (at least all the ones I've come across or heard of) is to simulate a series of keypresses from the keyboard, so basically you scan the barcode, with the focus on a textbox, and whatever that barcode represents will be typed into that textbox.
They are pretty easy to use really, with a little fiddling and advice from here when you need it, I'm sure you'll manage just fine
Harry.
"From one thing, know ten thousand things."
-
Sep 21st, 2000, 10:30 PM
#3
Member
i agree with harryW. Barcode readers only simulates a series of keypresses. There are, however, several types of barcode readers. There are barcode readers which is connected to LPT1 or to a COM port. The barcode that is the most simple to use is the one connected to the Keyboard connector. This type is the one that simulates the keypress and is very much recommended if you're program resides on a PC. The other types are better used i programs embedded on chips like EEPROM. Check your barcode reader's documentation and goodluck!
Mikey
A/P
Using VB6 SP4 Enterprise Ed.
-
Sep 21st, 2000, 11:24 PM
#4
Member
hi rod, I am actually handling this kind of project right now. Mine captures the time in and time out of employees. First of all,you have to take note whether your barcode reader will reside near the computer system of the application program. If the bar code reader is placed less than 1.5m away, you can connect it to LPT1 and read in as a keyboard input using the Keypress event(this is of course easier).
But if your reader resides more than 1.5m away, you'll have to connect the bar code reader using RS232 and connect it to your commport. If you are reading the input through a commport you'll have to used MS Comm to read the input. Verify with your user on the placement of the reader and check your reader's documentation.
-
Sep 21st, 2000, 11:35 PM
#5
Frenzied Member
Harry.
"From one thing, know ten thousand things."
-
Sep 21st, 2000, 11:42 PM
#6
Thread Starter
New Member
Bar Code Recognition VB 6.0
Thanks guys. I've got a bit of an idea where to start now. Don't let that stop anybody else from submitting some more ideas though :-)
-
Sep 22nd, 2000, 12:19 AM
#7
Addicted Member
Hi.
Check this site:
http://www.planet-source-code.com
then search for Barcode Or something like this.
I once saw a good submission(project) for barcode.
Good Luck.
-
Sep 26th, 2000, 12:31 PM
#8
New Member
Yes, there are 2 main types - keyboard wedge or serial interface - both are fairly simple to use (Keyboard wedge is VERY simple ) I did a program to monitor our stock for goods in/goods out - using part number b/code and quantity b/code (its an idea to turn off the preceding code (on the scanner) that tells you what type of b/code it is (Int2of5 code128) etc etc - this leaves you with just the string contained within the barcode) to retrieve the data I simply have a couple of textboxes (remembering to setfocus on them after processing the b/codes!) along with a few options it makes a very simple but effective goods in/out monitor - Make sure the scanner you buy is capable of reading the type of barcode you will be using most.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|