Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1036945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:47:12+00:00 2026-05-16T14:47:12+00:00

I’ve inherited the source to a legacy VB6 barcode library with no documentation. My

  • 0

I’ve inherited the source to a legacy VB6 barcode library with no documentation. My understanding is it translates an 11-digit number to UPC barcode (I hope I have that right, it might be EAN-8).

As far as I can tell, the check digit (right-most trailing number) is calculating correctly, buy the overhead digit (left-most leading number) is not.

The digit is translated by converting the first digit in the source number to a corresponding ASCII value. 1 becomes Chr(34), 2 becomes Chr(35) and so on. The problem is 6 and 0 (zero). I guess 6 should be Chr(39) (apostrophe), but the barcode doesn’t scan. I’m not sure what zero should be. I’ve tried both Chr(33) (exclamation) and Chr(45) (dash) and barcodes scan for neither. All other translated digits scan fine.

I’m hoping someone has either done this before and know what these should be, or knows a reference on the web. I’ve tried Googling, but all I can find is the general format of the barcode and how to calculate the check digit, but nothing on translating the overhead digit.

Edit 1: for what it’s worth, I’ve also seen this digit refered to as a type digit and inidcator digit.

Edit 2: this is actually a bad question on my part because I didn’t know what I was asking. Turns out 1) I was working with a specific commercial barcode font, and 2) I needed more than the overhead digit. I answered my own question with what I was able to find, but in all honesty my answer turns out to have very little to do with my question after all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:47:13+00:00Added an answer on May 16, 2026 at 2:47 pm

    Turns out the real problem wasn’t so much the algorithm (though it was incorrect) but that this library was written specifically for use with Wasp barcode fonts. What I was really needing was how to create the mechanical output that would then be rendered as a valid barcode by the font.

    After much digging, I was able to find this page. Though written in Visual FoxPro, I was able to translate it to VB6 to create the algorithm I needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.