This sample source code below will display you how to generate postnet barcode with barcode sdk in VB.NET. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to generate postnet barcode with barcode sdk with VB.NET.
The following code snippet for ByteScout Premium Suite works best when you need to quickly generate postnet barcode with barcode sdk in your VB.NET application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Check VB.NET sample code samples to see if they respond to your needs and requirements for the project.
You can download free trial version of ByteScout Premium Suite from our website with this and other source code samples for VB.NET.
Imports Bytescout.BarCode Module Module1 Sub Main() ' Create new barcode Dim barcode As New Barcode() ' Set symbology barcode.Symbology = SymbologyType.Postnet ' Set value barcode.Value = "12345" ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module