.NET Barcode Generator Guide & Tutorial
Note that, with an easy-to-use design purpose, our software doesn't need any activation code or registrion code. And ONBARCODE grants to you to use this evaluation
package, on one computer, for Evaluation purposes only within 30 days. And a red text (watermark) will appear on the generated barcode(s) randomly.
Once you ordered any license of the product, we will email you
OnBarcode.BarcodeGenerator.DotnetSuite.zip production version as soon as possible.
Installation

Top
Choose Dll
- /dll/Net20/OnBarcode.Barcode.ASPNET.dll and /dll/Net20/OnBarcode.Barcode.WinForms.dll supports .net framework 2.0, 3.0, 3.5
- /dll/Net40/OnBarcode.Barcode.ASPNET.dll and /dll/Net40/OnBarcode.Barcode.WinForms.dll supports .net framework 4.0, 4.5, 4.6, and later version
Install dll Component
- Copy OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to your .NET project folder.
Please note that you don't need to copy dll to .NET bin directory, as the .NET build tools will do it for you.
- Add OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to .NET project reference.
Install Buildin ASP.NET Barcode Generator Web Application
- Copy barcode folder and its contents to your IIS directory, and create a new virtual directory, named "barcode", linking to your copied barcode folder.
- Create a new virtual directory, named "barcode".
- Restart IIS, navigate to http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4.
- To create barcode image in html or aspx pages, you can insert an image tag (img) into your web pages.
For example, <img src="http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4" />
Add ASP.NET Web Form Control to ASP.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.ASPNET.dll.
- After selection, you will find four items under "Components" section:LinearWebForm, DataMatrixWebForm, PDF417WebForm, and QRCodeWebForm.
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.
Installation on SSRS (Reporting Services)

Top
Choose your Reporting Service version
How to Start?

Top
1. Generate barcodes in your .NET Class
First add OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to .net project reference.
 |
Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://code39.png");
|
2. Insert barcode images in html or aspx pages
- Install buildin ASP.NET barcode generator web application.
- To create barcode image in html or aspx pages, you can insert a image tag (img) into your web pages.
For example, <img src="http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4" />
3. Draw barcodes on your ASP.NET Web Forms using barcode web form control
- Install ASP.NET Barcode Web Form Control.
- Drag and drop LinearWebForm, DataMatrixWebForm, PDF417WebForm, and QRCodeWebForm components from your .NET toolbox to your ASP.NET Web Form.
4. 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.
Barcode Setting in .NET Barcode Generator

Top
Barcode for .NET - Bar Code Types Generation
- 2D / Matrix Barcodes:
- 1D / Linear Barcodes:
Support supplement 2, 5 digits for UPC/EAN barcodes