How can I create a program in VB6 to read bar code?

How can I create a program in VB6 to read bar code?
How can I create a inventory program in VB6 to read bar code

Best answer:

u need to reasearch the bar code. design ur interface to emmulate intering the bar code unless u have a bar code reader but i assume this is hw.
u need to have an array or data stored somewhere may be an excel sheet or a text file which contains each bar code and the item or the goods they refer to. eg.

u could have an array of structures. u can refer to the black strips as of value 1 and the white space as of value 0

to define the structure use type
Type Bar
BarCode as string
Item as string
Price as double
End Type
then define an array of type Bar

Dim arr(0 to 99) as Bar
to assign values
arr(0).BarCode=0111101011
arr(0).Item =”Bread”
arr(0).Price=1.2
…….
gud luck ;)

Tags: , , ,

Under Forum

Leave a Comment for How can I create a program in VB6 to read bar code?

Required

Required, hidden

Trackback this post  |  Subscribe to the comments via RSS Feed


Forum