Click here to Skip to main content
11,720,364 members (68,949 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hi all

I need code to generate barcode to read product name and price..

i searched google but confused with results.

please help

Thank you
Posted 17-Dec-12 19:05pm
Code-Hunt7.1K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

See,

Barcode is just a language like English.
Means I can say it just contain string or integer or mixed. But if you want to use it to identify your product, then you have to create one unique ID for each which will lead to product and it's price.

Means you just have to store your Product ID in barcode Language. And whenever you read your barcode it will provide a Product ID and then you have to Code in your Software to fetch the Name and it's price.

You can get helps how to create barcode (and ya reading is just very simple, it just types the ID in textbox when you press a button to read) on CodeProject.

Thanks.
  Permalink  
Comments
Snehasish Nandy at 18-Dec-12 4:47am
   
i saw in Codeproject.but didn't got this kind of links..can u send some...
Tarun Y Mangukiya at 18-Dec-12 8:53am
   
look at http://barcodewiz.com/user-manual/Code-128-Fonts/create_barcodes_in_vb_net.aspx
Tarun Y Mangukiya at 18-Dec-12 9:07am
   
See this http://www.codeproject.com/Articles/10344/Barcode-NET-Control

Code39 type and free too
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Installation
1-Install dll Component

Copy OnBarcode.Barcode.WinForms.dll to your .NET project folder.
Do not copy dll to .NET bin directory, .NET build tools will do it for you.

Add OnBarcode.Barcode.WinForms.dll to .NET project reference.

Add .NET Windows Form Control to .NET Visual Studio Toolbox

Right click .NET Visual Studio Toolbox, select menu Choose Items...

In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.WinForms.dll.

After selection, you will find four items under "Components" section: LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm.

How to Start?
1. Generate barcodes in your .NET Class

First add OnBarcode.Barcode.WinForms.dll to .net project reference.


Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://code39.png");

2. Draw barcodes on your Windows Forms using barcode windows form control

Install .NET Barcode Windows Form Control.

Drag and drop LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm components from your .NET toolbox to your .NET Windows Form.


You can find the dll file from the link given below


file:///E:/project/OnBarcode.BarcodeGenerator.WinForms/Developer_Guide.html#s1


This is the path for complete information open it on net
  Permalink  
v2
Comments
Abhishek Pant at 18-Dec-12 4:06am
   
where is your "Dll File Download" link doesnt works
Snehasish Nandy at 18-Dec-12 4:20am
   
where is your "Dll File Download" link doesnt works
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 11

Hi,

Have a look at this article:
Barcode Image Generation Library[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 15

this will help you. exactly according to your needs
Generating Barcode for a Sale/Purchase System Using itextSharp[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 2,029
1 OriginalGriff 844
2 F-ES Sitecore 640
3 Maciej Los 609
4 Richard MacCutchan 540


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 8 Oct 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100