Barcoding
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
refer : http://www.codeproject.com/info/search.aspx?artkw=bar+code[^]
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
You can use asp.net. When you scan barcode, it will simple write out barcode and usually give an CR and LF on end. So, you should give focus to barcode field on form, and once user scans code it will write code in that field. All scaners do it the same way, only that you can make in some cases define what to return on end. Also, be aware that you will not know in asp.net when data actually comes from scanner, and not from user. When scanner returnes data, it's just like keyboard strokes, you cant know when this happens. So, barcode field should have focus when you start scanning.
-
You can use asp.net. When you scan barcode, it will simple write out barcode and usually give an CR and LF on end. So, you should give focus to barcode field on form, and once user scans code it will write code in that field. All scaners do it the same way, only that you can make in some cases define what to return on end. Also, be aware that you will not know in asp.net when data actually comes from scanner, and not from user. When scanner returnes data, it's just like keyboard strokes, you cant know when this happens. So, barcode field should have focus when you start scanning.
Enver Maroshi wrote:
You can use asp.net.
How come ASP.Net is going to help?:confused:
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Enver Maroshi wrote:
You can use asp.net.
How come ASP.Net is going to help?:confused:
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Did you read his post or mine? If you would have read what he wrote you would see something like this: "We are developing a .net (ideally asp.net but would do win forms if needed)"
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
Most barcode scanners simply act as an additional keyboard and send keystrokes straight to whatever has focus as if it were typed. You can normally program the scanner by way of special control codes to operate how you would like. For example, where I work we set them to insert a TAB at the end of each read so focus is automatically moved to the next control in the tab order.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
Hi... For about one year, I make the same application also. We are using scanner from www.cognex.com or www.datalogic.com. Just find a scanner with RS232 interface. Then use class SerialPort Class. Use the methode ReadLine(). If the scanner read a barcode, then you get the ID from the methode ReadLine(). It's so easy. You can also test is using HyperTerminal. There are more than 2 manufacturer of scanner, you can find other manufacturer also. There is also scanner type with USB. If you install the driver, then it will be converted to RS232 (Virtual Port). You can read it also using class SerialPort. Find a sample how to use class SerialPort in MSDN. Just use the sample to read some barcode from scanner.
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
You can get hold of them fairly easily, either in fixed form like you get at a supermarket or the handheld variety. The last time I used one was about 15 years ago and in those days was connected to the serial port. These days they're probably serial over USB or something so it shouldn't be hard to start reading off it. They simply send a series of characters representing the barcode. Very like someone typing the numbers in on a keyboard.
Regards, Rob Philpott.
-
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks
In addition to the Serial Port scanners, you CAN use "keyboard wedge" scanners. Most scanners will let you prefix and postfix custom character strings to the code so your application can tell a code is being "typed", allowing you to either position the focus in the appropriate control or just skip the control entirely and read the keystrokes, building the code internally, until you see the postfix characters. You can then do whatever you need with the code without worrying about where the input focus is. You'd normally use the forms key___ events, with KeyPreview set to True, instead of a particular controls events.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Hi, This is a new one to me but Ill set the scene, Would appreciate any support from people who currently or have done this. We have thousands of products that are going to go through a production line, the prodcut comes to us with a barcode already attached. I need my users to scan the item at each stage, ie received the item, assebled, test, etc... We are developing a .net (ideally asp.net but would do win forms if needed)that will need to record the barcode (unique id) and add several infomation items to that record along the line. So, I need to Find a barcode scanner that will read the bardcode, and I can interact with in my .net application (all data will be stored in sql). thanks