help in my pjt

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2006
Posts: 1
Reputation: libin is an unknown quantity at this point 
Solved Threads: 0
libin libin is offline Offline
Newbie Poster

help in my pjt

 
0
  #1
Dec 2nd, 2006
i am doing project in vb.net ,a library management system.it contains a barcode reader.could u help me in usb commmunication to connect my barcode to my program and read data frm it.thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,348
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1462
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: help in my pjt

 
0
  #2
Dec 2nd, 2006
you will probably have to go to the barcode reader manufacture's web site and see if you can find some programmer's information and device driver.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,348
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1462
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: help in my pjt

 
0
  #3
Dec 3rd, 2006
I just found this article that may or may not help you.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 2
Reputation: jmw is an unknown quantity at this point 
Solved Threads: 0
jmw's Avatar
jmw jmw is offline Offline
Newbie Poster

Re: help in my pjt

 
0
  #4
Dec 28th, 2006
not sure what the issue is you need help with but from past experience with barcode readers it might be helpful for you to just think of the barcode reader as an extension of your keyboard. As long as you have a textbox with focus available to accept input the barcode reader will read the barcode and enter the translated characters into the textbox. It is also helpful to think of barcode as a special font type - it's really nothing more. Also, many barcode readers have the ability to program in an automatic carriage return so that it automatically submits your input form (if this is desired). You could also probably do it with an event procedure.
JMW
"You must do the thing which you think you cannot do." - Eleanor Roosevelt
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: help in my pjt

 
0
  #5
Dec 29th, 2006
Originally Posted by jmw View Post
not sure what the issue is you need help with but from past experience with barcode readers it might be helpful for you to just think of the barcode reader as an extension of your keyboard. As long as you have a textbox with focus available to accept input the barcode reader will read the barcode and enter the translated characters into the textbox. It is also helpful to think of barcode as a special font type - it's really nothing more. Also, many barcode readers have the ability to program in an automatic carriage return so that it automatically submits your input form (if this is desired). You could also probably do it with an event procedure.
JMW
Exactly right. We use bar code readers in Pharmacy extensively. Barcode readers rarely require a drive when connecting via the USB port. If you open notepade and scan any generic UPC barcode... say one on the back of a game box or can of soup the bar code reader will spit out the numeric value for that UPC code.

Some older barcode readers had to be Y-connected to the keyboard because they required the ASCII code base from the keyboard inorder to translate barcodes.

There should be nothing you need to do to attach you program to the barcode reader. It will function regardless of your application, what you need to do is two things in your application... have a designated region to receive this bar code and OnDirty or OnChange event should fire when the scran by the barcode is done in this region to valid that the barcode value is what your expecting. i.e. ISBN versus UPC barcodes. Let me know if you have problems here, I think I still have my Visual C++ ISBN Library system hanging around and can provide the validation logic to validate ISBN values.

ISBN values are unique by country, and other specific criteria.


Good luck
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC