POSTNET for VB.NET

POSTNET Overview

POSTNET is also called USPS POSTNET Barcode, USPS POSTal Numeric Encoding Technique Barcode, Delivery Point Barcode (DPBC), Postnet 3 of 5.

Encodable Character

  • Numeric Character: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Encodable Data Length

  • Multiple Fixed Length
  • 6, 7, 10, or 12 digits in total (with 1 auto check digit)
  • 5, 6, 9, or 11 digits encodable

VB.NET POSTNET Barcode Setting Quick Links

POSTNET Generator in VB.NET - FAQ

1. How to generate POSTNET bar code image using POSTNET Generator in VB.NET in VB.NET Class?

       using BusinessRefinery.Barcode;

       Linear barcode = new Linear();
       barcode.Type = BarcodeType.POSTNET;
       barcode.Code = "98765";
       barcode.drawBarcode("C://postnet-in-vbnet.gif");

2. How to stream POSTNET to image files?

       using BusinessRefinery.Barcode;

       Linear barcode = new Linear();
       barcode.Type = BarcodeType.POSTNET;
       barcode.Code = "98765";
       barcode.drawBarcode("C://postnet-in-vbnet.png");
You can also create POSTNET to GIF, JPEG, & BMP image formats besides PNG


3. How to install POSTNET Generator in VB.NET Windows Control Library?

  1. Add BusinessRefinery.Barcode.WinForms.dll to your .NET Windows Application project reference
  2. Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox

4. How to install POSTNET Generator in VB.NET Web Control Library?

  1. Add BusinessRefinery.Barcode.ASPNET.dll to your ASP.NET project reference
  2. Add ASP.NET Barcode Generator ASP.NET Web Control Library to .NET Visual Studio Toolbox

5. How to generate POSTNET in ASP.NET Web Application using .NET Barcode Generator Streaming Functions?

  1. Copy the folder barcode under evaluation package with contents to your IIS web server
  2. Create a new virtual directory named "barcode"in your IIS web server.
  3. Restart IIS web server, open your web browser and navigate to http://project-url/barcode/linear.aspx?code=01234&symbology=34
  4. To create POSTNET image to your html or aspx pages, you can insert an image tag (img) into your web page.
    For example, <img src="ttp://project-url/barcode/linear.aspx?code=01234&symbology=34" />
POSTNET Generator Component for .NET Framework


BusinessRefinery provides 3 mature .NET Barcode Generation Components to generate POSTNET in VB.NET projects:

.NET Barcode for ASP.NET - enable barcode generation in VB class, VB console applications, and VB ASP.NET web projects.

.NET Barcode for Windows Forms - enable barcode generation in VB class, VB console applications, and VB.NET Windows applications.

.NET Barcode Ultimate - integrates all features in the above two controls.

More Barcodes




Quick Links