473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 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 1551
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: CHANGE username to westes | last post by:
What are the most popular, and well supported, libraries of drivers for bar code scanners that include a Visual Basic and C/C++ API? My requirements are: - Must allow an application to be...
3
by: Tom Turner | last post by:
Here's the background on my situation. The question follows --- We have 600 units of mail going from our business to various Post Offices every morning. Every unit is accompanied by a paper...
4
by: | last post by:
Hi all, we have a need to barcode encode and display a record identifier (number) both in html in the browser and through fdf in adobe acrobat in realtime. Is this possible? Can anyone make any...
6
by: Samuel Shulman | last post by:
I would like to add barcode functionality to my POS program How does one attach barcode reader is it usually USB port How can the program get the data read by the device Thank you, Samuel
3
by: patrickdrd | last post by:
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...
7
by: Alper Ozgur | last post by:
Hi; How can i capture and decode the barcode that reading by an usb Barcode reader?
7
by: jim | last post by:
I need to have 2 simple barcode reader applications finished by midnight tonight. I have never written any barcode reader software and need any help that you may be able to offer. I do not know...
2
by: sam | last post by:
can someone show how to change print font width & heigh scaling? I am writing a code for barcode printing on smaller label. I do not want change font size, because this may cause the bar code...
7
by: divyac | last post by:
I am doing an inventory control project and i want to create barcodes for the products in addition to the product details in a form.The form values should be submitted to the database to retrieve for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.