Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

I have made an invoice form and i want to add products in bill table after scanning barcode of items. i have created and printed barcodes with the help of bytescout barcode sdk and i have stored those printed barcodes in the product table in backend in mysql.
I just want to scan the barcode with my lappy's webcam or through android app, so please tell me how to connect it with my vb form??
I don't want to purchase any barcode scanner as it is just my school project.

Thank you.
Posted
Updated 16-Jul-18 2:03am
Comments
Christian Graus 19-Dec-12 22:57pm    
You'll struggle. Why are you learning VB6 ? It's long obsolete, and it always sucked. If your class is teaching VB6, they are wasting your time. It will not give you a career in programming, or even teach you any good programming practice. As such, you'll struggle to find support in something that's not been extended for 10 years, for relatively modern ideas like video capture, let alone talking to Android.

Did you make a mistake by tagging this VB6 ? What does MySQL have to do with it ? Giving your question the wrong tags, makes it impossible to get a good answer.
[no name] 20-Dec-12 5:40am    
yes i know vb6 is not used much. But i am a beginner and i haven't done any project before. and now i have made the forms and 90% of coding is done, i can't change it now. I have used mysql as backend. I have just got stuck here in the bill form. so if you can help me please...

1 solution

There are Auto-start QRCode/Barcode scanners in the market, buy one and install. On your VB Form startup, sutfocus on the search field, which should be expecting the barcode (decoded by the device) to query your DB. Use the scanner to scan your printed barcode into the textbox. Your problem should be solve.

You're having challenge because you are using Webcam, which also is possible but more complex than using a barcode scanner.

If you want to further on the use of webcam, download the VBQRCode Library and do a little more research on it. It works better on .Net

I hope that you will succeed.

Good luck!
 
Share this answer
 
Comments
Richard MacCutchan 16-Jul-18 8:17am    
I do not think that after almost six years that the OP is still waiting for an answer. Please focus your efforts on current questions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900