471,049 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

barcode creation? how?

Hi everyone!

Does anyone know what do I need (control or anything else) in order to
provide it with a number (fixed digits) and let it created a barcode for me,
which I could scan later using a scanner and produce that number back?

Thanks in advance!
Mar 21 '07 #1
10 1303
Depending on what type of barcode you want, for example, this article

http://www.codeproject.com/cs/miscctrl/barcodectl.asp

supports barcoe 39. If you want to support other types of barcode, you
might have to find a commerical solution to this.

we wanted to integrate this in our software, but we are putting it on
hold for now :)

Liming Xu
Jumptree Project Management
www.jumptree.com
On Mar 21, 6:16 pm, patrickdrd <patrick...@discussions.microsoft.com>
wrote:
Hi everyone!

Does anyone know what do I need (control or anything else) in order to
provide it with a number (fixed digits) and let it created a barcode for me,
which I could scan later using a scanner and produce that number back?

Thanks in advance!

Mar 22 '07 #2
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.com...
Does anyone know what do I need (control or anything else) in order to
provide it with a number (fixed digits) and let it created a barcode for
me,
which I could scan later using a scanner and produce that number back?
http://www.google.co.uk/search?sourc...NET%22+barcode
Mar 22 '07 #3

"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.com...
Hi everyone!

Does anyone know what do I need (control or anything else) in order to
provide it with a number (fixed digits) and let it created a barcode for
me,
which I could scan later using a scanner and produce that number back?

Thanks in advance!
Here is a good resource if you decide to create your own. If you only need
numbers it is fairly easy.

http://www.adams1.com/pub/russadam/info.html
Mar 22 '07 #4
"free demo" once more...

is there any free control to do it or I should have to pay?
Mar 22 '07 #5

"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
"free demo" once more...

is there any free control to do it or I should have to pay?
It really is not that hard to create. It is simply a set of lines for each
number from 0 to 9 (ten images) which can be used to barcode any number. You
need to calculate the check digit too.
Mar 22 '07 #6
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
"free demo" once more...

is there any free control to do it or I should have to pay?
I'm not aware of any free barcode generation software for .NET...

There are services like this:
http://www.i-fax.com/aspx/aspx_barcode_plugin.html but that probably isn't
what you're looking for...
Mar 22 '07 #7

"vMike" <Mi************@5nerrawgenospam.comwrote in message
news:QL******************@bignews7.bellsouth.net.. .
>
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
"free demo" once more...

is there any free control to do it or I should have to pay?
It really is not that hard to create. It is simply a set of lines for each
number from 0 to 9 (ten images) which can be used to barcode any number.
You
need to calculate the check digit too.
I created some fonts for codebar and upc. I will be happy to email them to
you. You can then use them to make images. Codabar does not use a check
digit. For UPC then check digit calculation is easy. Here is some VBA code
to calc upc checkdigit.

Function GenerateCheckDigit(strBaseBarCode As String) As Integer
Dim intLength As Integer
Dim intEvenSum As Integer
Dim intOddSum As Integer
Dim i As Integer
GenerateCheckDigit = -1
On Error GoTo Errorhandler
intEvenSum = 0
intOddSum = 0
intLength = Len(strBaseBarCode)
For i = 1 To intLength
If i Mod 2 = 0 Then
intEvenSum = intEvenSum + CInt(Mid(strBaseBarCode, i, 1))
Else
intOddSum = intOddSum + CInt(Mid(strBaseBarCode, i, 1))
End If
Next i
GenerateCheckDigit = Right(CStr(1000 - (intEvenSum + intOddSum * 3)), 1)
Exit Function
Errorhandler:
MsgBox "Generate check digit function failed."
GenerateCheckDigit = -1
End Function

>

Mar 22 '07 #8
Please send me your fonts and any other material (source, sample etc) wou
would like to share with me!

Thanks in advance!

"vMike" wrote:
>
"vMike" <Mi************@5nerrawgenospam.comwrote in message
news:QL******************@bignews7.bellsouth.net.. .

"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
"free demo" once more...
>
is there any free control to do it or I should have to pay?
It really is not that hard to create. It is simply a set of lines for each
number from 0 to 9 (ten images) which can be used to barcode any number.
You
need to calculate the check digit too.

I created some fonts for codebar and upc. I will be happy to email them to
you. You can then use them to make images. Codabar does not use a check
digit. For UPC then check digit calculation is easy. Here is some VBA code
to calc upc checkdigit.

Function GenerateCheckDigit(strBaseBarCode As String) As Integer
Dim intLength As Integer
Dim intEvenSum As Integer
Dim intOddSum As Integer
Dim i As Integer
GenerateCheckDigit = -1
On Error GoTo Errorhandler
intEvenSum = 0
intOddSum = 0
intLength = Len(strBaseBarCode)
For i = 1 To intLength
If i Mod 2 = 0 Then
intEvenSum = intEvenSum + CInt(Mid(strBaseBarCode, i, 1))
Else
intOddSum = intOddSum + CInt(Mid(strBaseBarCode, i, 1))
End If
Next i
GenerateCheckDigit = Right(CStr(1000 - (intEvenSum + intOddSum * 3)), 1)
Exit Function
Errorhandler:
MsgBox "Generate check digit function failed."
GenerateCheckDigit = -1
End Function



Mar 22 '07 #9

"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:F7**********************************@microsof t.com...
Please send me your fonts and any other material (source, sample etc) wou
would like to share with me!

Thanks in advance!

"vMike" wrote:

"vMike" <Mi************@5nerrawgenospam.comwrote in message
news:QL******************@bignews7.bellsouth.net.. .
>
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
"free demo" once more...

is there any free control to do it or I should have to pay?
It really is not that hard to create. It is simply a set of lines for
each
number from 0 to 9 (ten images) which can be used to barcode any
number.
You
need to calculate the check digit too.
just need an address
Mar 22 '07 #10
pa********@yahoo.gr

thanks again!

"vMike" wrote:
just need an address
Mar 22 '07 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by CHANGE username to westes | last post: by
4 posts views Thread by | last post: by
6 posts views Thread by Samuel Shulman | last post: by
7 posts views Thread by Alper Ozgur | last post: by
7 posts views Thread by divyac | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.