- Barcode Products
-
Guide
- Generate barcodes in ASP.NET
- Generate barcodes in .NET WinForms
- Generate barcodes in Visual C#.NET
- Generate barcodes in Visual Basic.NET
- Generate barcodes in Java
- Generate barcodes in Crystal Reports
- Generate barcodes in Reporting Service
- Generate barcodes in RDLC Report
- Generate Barcodes in BIRT Report
- Integration
- Knowledge
- Order Now
- About Us
- Simply encode data message in Standard 2 of 5 symbol with Visual Basic in your .NET projects
- Apply to encode data for Standard 2 of 5 with Visual Basic in .NET 2.0, 3.0, 3.5, 4.0
- Three measurements support in pixel, inch, cm for Standard 2 of 5 barcode symbol
- Standard 2 of 5 symbol margins can be adjusted, including top, bottom, left, and right margins
- Complete adjustable wide bar to narrow bar ratio for Standard 2 of 5 barcode
- Efficiently Standard 2 of 5 creating with X, Y dimension and barcode width& height configured
- Reliable Standard 2 of 5 barcode drawing dll with royalty-free and perpetual developer license
Quick Jump:
More About Code 2 of 5 in VB.NET:
VB.NET Standard 2 of 5 Encoder Integration
- Download the VB.NET barcode component from BusinessRefinery.com
- Unzip the VB.NET barcode component package
- Integrate BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference
- Add .NET Barcode Encoder .NET Windows Control Library to Visual Studio Toolbox
- Right click your Visual Studio Toolbox, and select menu Choose Items...
- In "Choose Toolbox Items" form, click button "Browse..."
- Select BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll
Encoding Valid Characters for Standard 2 of 5 in VB.NET
Standard 2 of 5, a.k.a. Industrial 2 of 5 or Code 25, is a discrete, self-checking numeric only barcode symbology. Code 2 of 5 is a low-density numeric symbology and has been used in the photofinishing and warehouse sorting industries as well as numbering airline tickets. Code 2 of 5 encodes all data information into the bars, and the spaces, with fixed width, are only used to separate the bars. Code 2 of 5 only encodes numeric characters 0 through 9:
(a) Standard 2 of 5 Valid Character Set
- Numeric digits: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
(b) Encoding data for Standard 2 of 5 in Visual Basic .NET
Dim barcode As BusinessRefinery.Barcode.Linear barcode
= New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.Code25
barcode.Code = "0123456789"
barcode.drawBarcode2ImageFile("C://Code25.gif")