ByteScout BarCode Generator SDK - VB.NET - Generate Barcodes from Excel - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout BarCode Generator SDK – VB.NET – Generate Barcodes from Excel

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VB.NET – Generate Barcodes from Excel

How to generate barcodes from excel in VB.NET using ByteScout Barcode SDK

How to generate barcodes from excel in VB.NET

The sample source codes on this page shows how to generate barcodes from excel in VB.NET. ByteScout Barcode SDK is the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images and you can use it to generate barcodes from excel with VB.NET.

The SDK samples like this one below explain how to quickly make your application do generate barcodes from excel in VB.NET with the help of ByteScout Barcode SDK. 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! You can use these VB.NET sample examples in one or many applications.

Trial version of ByteScout Barcode SDK can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports Bytescout.BarCode Imports System.Data.OleDb Module Module1 Sub Main() Dim barcode As Barcode = New Barcode() barcode.Symbology = SymbologyType.Code128 Dim connection As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=Book1.xlsx;Extended Properties='Excel 8.0;HDR=Yes'") connection.Open() Dim command As OleDbCommand = connection.CreateCommand() command.CommandText = "SELECT * FROM [Sheet1$]" Dim dataReader As OleDbDataReader = command.ExecuteReader() Dim i As Integer While dataReader.Read() barcode.Value = Convert.ToString(dataReader.GetValue(0)) barcode.SaveImage(barcode.Value & ".png") i = i + 1 End While dataReader.Dispose() connection.Dispose() barcode.Dispose() End Sub End Module

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next