Cart
Support
Contact Us
FAQ
Customer Login
User Manuals
ActiveX Control
Code 128 Fonts
UPC EAN Fonts
Code 39 Fonts
Interleaved 2 of 5 Fonts
OnLabel
Video Tutorials
ActiveX Control
Barcode Fonts
OnLabel
Buy Now
Specials
BarCodeWiz Bundle Special
Barcode Control and Add-ins
ActiveX Control
Barcode Fonts and Add-ins
Code 128
UPC EAN
Code 39
Interleaved 2 of 5
Barcode Label Software
OnLabel
Barcode Controls for .NET
Barcode Control for ASP.NET
Barcode Control for Windows Forms
Upgrades and Renewals
Download Trial
Barcode Control and Add-in
ActiveX Control Trial
Barcode Fonts and Add-ins
Code 128 Trial
UPC EAN Trial
Code 39 Trial
Interleaved 2 of 5 Trial
Barcode Label Software
OnLabel
Barcode Controls for .NET
Barcode Control for ASP.NET
Barcode Control for Windows Forms
Products
Barcode Software Comparison
Barcode Control and Add-in
ActiveX Control
Barcode Fonts and Add-ins
Code 128
UPC EAN
Code 39
Interleaved 2 of 5
Barcode Label Software
OnLabel
Barcode Controls for .NET
Barcode Control for ASP.NET
Barcode Control for Windows Forms
Home
Code 128 Barcode Fonts
Create Barcodes with C# Windows Forms
Create Barcodes with C# Windows Forms
Download Trial
Buy Now
Barcodes in Microsoft Excel
Install Code 128 Fonts Toolbar in Excel
Convert selected cells to barcodes
Print a specific quantity of barcode labels
Create a sheet of sequential barcode labels
Use spreadsheet formulas to create barcodes
Create barcodes with VBA and macros
Barcodes in Microsoft Word
Install Code 128 Fonts Toolbar in Word
Convert selected text to barcode
Create barcode labels with Mail Merge
Print a sheet of barcode labels
Use macros and VBA to create barcodes
Barcodes in Microsoft Access
Create barcodes in MS Access
Barcode Labels Wizard in MS Access
Barcodes in MS Access Query
Barcodes in Crystal Reports
Install Code 128 Fonts User Function Library (UFL)
Code 128 barcodes in Crystal Reports
GS1-128 Barcodes in Crystal Reports
Troubleshooting Code 128 Barcodes in Crystal Reports
Barcodes in SSRS
Code 128 Fonts SSRS - Installation
Code 128 Barcodes with SQL Server Reporting Services SSRS - As Text
GS1-128 (EAN-128) Barcodes with SQL Server Reporting Services SSRS
Code 128 Barcodes with SQL Server Reporting Services SSRS - As Images
More Tutorials
Barcodes in VB.NET
Barcodes with C#
Barcodes in Adobe InDesign Data Merge
Barcodes in MS Publisher Mail Merge
Command Line Installation
Code 128 Fonts Character Map
Code 128 Fonts Size Chart
Step 1. Add a Reference to BarCodeWizFontsNet.dll
Click on
Project
>
Add Reference...
Click
Browse...
Locate
BarCodeWizFontsNet.dll
and click
Add
. The default location is:
C:\Program Files (x86)\BarCodeWiz Code 128 Fonts\DotNet\net40
(use with .NET 4.0 or newer)
C:\Program Files (x86)\BarCodeWiz Code 128 Fonts\DotNet\net20
(use with .NET 2.0 or newer)
Step 2. Add the following controls to your form:
1. TextBox (textBox1)
- text input, will be converted to barcode
2. Button (button1)
- to trigger the conversion. Set its
Text
property to
"Encode"
3. Label (label1)
- to display the encoded barcode
Step 3. Edit the label properties
Set the Font to
BCW_Code128B_2
,
24pt
Set
UseMnemonic
to
False
Step 4. Add code to convert the text to barcode
Double-click on
button1
and add the following code in the
Click
event:
Code128Fonts encoder = new Code128Fonts();
label1.Text = encoder.Code128B(textBox1.Text);
Add a
using
directive:
using BarCodeWizFontsNet;
The final result
See More
To see a more advanced example of barcode printing and label formatting with Code 128 Barcode Fonts in C#, open the project:
Documents\BarCodeWiz Examples\Code 128 Barcode Fonts\DotNet\CSHARP
Copyright © 2000-2019 BarCodeWiz, Inc.
|
Privacy Policy