Bar Code Programming

For attendance software I want have to do barcode coding on emp_code can some one guide me how it possible. Rgds. Iqbal
MehramAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBPriceCommented:
If you get a bar code scanner for PC, they just emit keystrokes as if you type the barcode number on the keyboard, which also makes it easy to support manual entry for barcodes that become unreadable.  You can get barcode fonts so that you can print your own, and you can put in anything you want.  Note there are several different bar code standards, so get a font you readers can read.  We use the wasp wand reader, which you can pick up at a lot of places, including CompUsa http://www.compusa.com/products/product_info.asp?product_code=50118263&pfp=BROWSE
0
abdulhameedsCommented:
its easy way just you need you will use time attendance machine or barcode scanner any way
if you use time attendance michine you need to get special card like the ATM cards then you will connect the machine to oyur computer on the serial port then you need need to make timer to check the serial port for incoming data by
on form_load
mscom1.portopen = true

and the time will make check every second for the data coming from the machine
by mscom1.input=  and  mscom1.output
so when you get the data you can do what you need


if use barcode scanner then you will need to use keyboard connection for this situation any barcode will display automaticly in your system so you will deal with it

i hope i help you


0
MehramAuthor Commented:
Sir, your provided information is really help full for me. I actually want to know how the data will be inserts into MYSQL,

As you guide me on form_load

Quote:
mscom1.portopen = true

and the time will make check every second for the data coming from the machine
by mscom1.input=  and  mscom1.output
so when you get the data you can do what you need
Unquote:

Either the coming data will be saved into any variable and then through insert command it will be transfer in MYSQL.

May be my question is stupid but I am new so need your help.
0
Uday EthirajuluCTOCommented:
Hi,
        You buy one barcode scanner there is lots of models available in the market you can choose gun type scanner or else in your wish.

         If you are developing the software in the visual basic use the mscomm component to read the data from the scanner.

        first of all you have to set up the default setttings to your scanner by scanning the set defaults barcode available in your barcode device specified manual.

        By default the universal access free barcode is Code128 model.

        you have to generate the barcode label by using barcode generation software available wiht your barcode printer.

        Connect the barcode scanner in the serial port.

        in the form load open the serial port by setting the property

        baudrate,handshake,no of bits,stop bits = 9600,N,8,1
 
       then open the mscomm port

       mscomm1.open()

       then you have to write the code for OnComm Eent
       
      Msgbox(mscomm1.output)

 


All the best for u r attendance system

Regards,
Uday
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.