J
JimmyKoolPantz
We purchased som software for encoding a barcode. We want to
automate the process of converting a number to a readable barcode.
However, I am having a few issues.
The file that the barcode needs to be appended to is dbf file type,
I wrote a dbf writer so adding data on the fly is not a problem, the
problem is
trying to get the correct encoding. The barcode utility that we
purchased
works fine. However, when I write the values of the barcode to a dbf,
txt, csv, the
values are not identical. Here is the data comparision.
Original value of the field that is being converted to a barcode:
41864-00001~
the conversion value is: (value generated by the barcode utility that
we purchased):
ÃIvÈ4-0ÇÂ!È~}ÃŽ <--- note this is the value I need to be
exported for barcode scanning.
I use a binary writer to export the values to a dbf file and when i
open the dbf to view it, I get the following values:
'using System.Text.ASCIIEncoding.UTF8.GetBytes(_importCode)
ÍIvÈ4-0ÇÂ!
'using System.Text.ASCIIEncoding.UTF7.GetBytes(_importCode)
+AM0-Iv+AMg-4-
I've also tried writing it to text file, but still the same issue. We
currently are using a vba module to export the file however
this is not done using automation. Any advice?
automate the process of converting a number to a readable barcode.
However, I am having a few issues.
The file that the barcode needs to be appended to is dbf file type,
I wrote a dbf writer so adding data on the fly is not a problem, the
problem is
trying to get the correct encoding. The barcode utility that we
purchased
works fine. However, when I write the values of the barcode to a dbf,
txt, csv, the
values are not identical. Here is the data comparision.
Original value of the field that is being converted to a barcode:
41864-00001~
the conversion value is: (value generated by the barcode utility that
we purchased):
ÃIvÈ4-0ÇÂ!È~}ÃŽ <--- note this is the value I need to be
exported for barcode scanning.
I use a binary writer to export the values to a dbf file and when i
open the dbf to view it, I get the following values:
'using System.Text.ASCIIEncoding.UTF8.GetBytes(_importCode)
ÍIvÈ4-0ÇÂ!
'using System.Text.ASCIIEncoding.UTF7.GetBytes(_importCode)
+AM0-Iv+AMg-4-
I've also tried writing it to text file, but still the same issue. We
currently are using a vba module to export the file however
this is not done using automation. Any advice?