VB 6 generate and read barcode tutorial shows sample source codes for generating and reading barcodes with Visual Basic 6.

You can generate barcode with our BarCode Generator SDK in VB6 like this:

Set bc = CreateObject("Bytescout.BarCode.Barcode")
' set symbology to Code39
bc.Symbology = 1 ' 1 = Code39 symbology type
' set barcode value to encode
bc.Value = "012345"
bc.SaveImage "Code39.png"
Set bc = Nothing

And you can read barcode from image in VB6 using BarCode Reader SDK:

Set bc = CreateObject("Bytescout.BarCodeReader.Reader")
' limit to 1D barcodes search only (2d are not included to speed up search)
bc.TypeToFind = 2066431 ' 2066431=SymbologyFilter.FindAll1D
bc.ReadFromFile "Code39.png"
For i = 0 To bc.FoundCount - 1
Msgbox "Found barcode on page #" & CStr(bc.GetFoundBarcodePage(i)) & " with type " & Cstr(bc.GetFoundBarcodeType(i)) & " and value " & bc.GetFoundBarcodeValue(i)
Next
Set bc = Nothing

Here is the demo how to read barcode EAN 128 with BarCode Reader SDK: