Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come
out every day, so no prevention program can catch 100% of them. For your own safety, please:
Re-scan downloaded files using your personal virus checker before using it.
NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
If you don't have a virus scanner, you can get one at many places on the net
Terms of Agreement:
By using this code, you agree to the following terms...
You may use
this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
You may link to this code from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
Hey Paulo, Nice Code. Does it check for a check digit. If not how does that work. Thanks -D (If this comment was disrespectful, please report it.)
5/26/2003 10:47:11 AM:
I'd like to know what kind of license is shipped with this source code. My goal is to extend this code to support more barcode (code39, code128 ecc...), create a .net control and release it under GPL license (open source).
What do you think about? (If this comment was disrespectful, please report it.)
Suggestion: You should draw the barcode on an Image object, and then assign the PictureBoxes image to that Image object. That way, it wont blank out the PictureBox when you minimize the window.
Great Code by the way. ***** (If this comment was disrespectful, please report it.)
2/25/2004 8:01:22 AM:
I'd like to know haw this program work PLEASE ANSWER ME !!! (If this comment was disrespectful, please report it.)
7/6/2004 7:38:44 AM:
Hi, That's a nice piece of code u have there. However, can u explain the purpose of the following part of the code that in in your source. Thanks:
For K = 1 To Len(strAux) \ 2 Select Case CInt(Mid(strAux, K, 1)) Case 0 strExit (If this comment was disrespectful, please report it.)
7/6/2004 7:40:24 AM:
arghhh.......guess there weren't enough place to have even a little part of the code in. Anyway, what I don't understand is what is teh purpose of teh part of code that had the IIF function applied on?? Thanks (If this comment was disrespectful, please report it.)
Quite simple: a little bit earlier I check to see the first digit of the EAN13 code that is coded by the way the bars are printed. So I save a variable strCode that has the coding scheme for the first EAN13 digit.
The IIfs checks for this code to apply the proper coding for each remaining digit.
I hope to solve your question.
Regards. (If this comment was disrespectful, please report it.)
7/7/2004 7:43:20 AM:
Hmmmm......I am a bit confused with the assign of binary code in the IIF function....since each digits from 0 to 9 has their own binary code, how do I know when to assign the correct binary code when checking through the EAN8 or EAN13 digits?? Because in each of your IIF functions, u already set 2 fixed binary code for each of the digit when the digit was not equal to 0, I was wondering how would u know exactly that the binary code assigned to the digit that checked is corect?? I mean it could be any digit that can be landed on the IIF function. I hope u can understand this question and it is not too long here :). Thanks (If this comment was disrespectful, please report it.)
I ran it on .Net 2003 but does not draw nothing. (If this comment was disrespectful, please report it.)
1/13/2005 4:49:14 AM:
HI I'm very glad to see this web about your code. Thank U very much and I have a question for U that: Have you got any code about barcode reader. That can integrate with barcode reader and return the value so that I can receive it and use it?
(If this comment was disrespectful, please report it.)
hello there, did you know EAN 13 and EAN 8 have check digit? for example, we input 7 number and one number behind the number is check digit. we no input 8 or 13 number to create EAN 8 or 13 but we input 7 and 12 number. 8th and 13th number is auto generate (If this comment was disrespectful, please report it.)
Hi, donloaded your code and developed an apllication. now I'm trying to print the barcode but any scanner I use, read the code (EAN8). what should I do? Thanks (If this comment was disrespectful, please report it.)
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular code, please
click here instead.)