dLSoft  barcode & labelling software     

Active Barcode components

The ideal barcode image components for adding barcodes to your project

Active Barcode Components are a family of Active-X components designed for generating barcode images in Visual Studio WinForms, VBA, Microsoft Access, Visual FoxPro and Visual Basic 6 projects.

The new release includes both 32 bit and 64 bit components. 64 bit components are suitable for use with the 64 bit edition of Office 2010 and later, and VBA7.

Barcode component screen shots

barcode active-x for visual basic
Design view in VB6

barcode active-x control
Popup property pages

The products

The Active Barcode Component product range includes a Universal product, which may be licenced for 1D barcodes, 2Dbarcodes or both, and several other components that support specific barcode types. For details see the product's Help system or manual

To download a TestWare version now or buy from the online store select the product link below.



Active Barcode Component – Universal

Supports most common 1D and 2D barcode types**

or for limited barcode type support:  

Active Barcode Component – Standard

Code 39, Extended 39, Code 93, Extended 93, Code 128, Interleaved 2 of 5 and Matrix 2 of 5

Active Barcode Component – GS1

EAN-13/8, UPC-A/-E (with supplementaries), EAN/UCC 14, GS1-128, ITF and SSCC

Active Barcode Component – Aztec


Active Barcode Component – DataMatrix


Active Barcode Component – PDF417

PDF417, Truncated PDF417 & MicroPDF

Active Barcode Component – QR Code

QR Code & Micro QR

Active Barcode Component – DataBar

GS1-DataBar (formerly RSS) barcodes


Use as an object

May be added to many applications using the Insert Object method, or created using CreateObject, and properties set by double clicking on the barcode image - see images of Property pages.

Or use as an ActiveX Control

dLSoft Active Barcode Components may be placed as an ActiveX Control into programming environments, such as Visual Basic 6, Visual Studio, Visual FoxPro or Microsoft Office:

Typical VB code sample:

Axbarcode1.ImageHeight = Val(Edit1.Text)
Axbarcode1.ImageWidth = Val(Edit2.Text)
Axbarcode1.Xunit = 0
Axbarcode1.CodeType = Combo1.ListIndex
Axbarcode1.Caption = Text1.Text
Image1.Picture = Axbarcode1.Picture

Images may be saved to disk in several formats under program control.

*Some sample code provided with these components may call system components, eg. for common dialogs.

**Active Barcode Component - Universal supports the following 1D barcode types with a 1D or Dual licence: 2 of 5, 3 of 9, Australia Post, Codabar, Code 11, Code 39, Extended Code 39, Code 93, Extended Code 93, Code 128, Code B, Deutschen Post, DUN14, EAN- 8, EAN-13, EAN-14, EAN-128/UCC-128, ISBN, ISMN, ISSN, IATA 2 of 5, ITF-14, ITF-6, Interleaved 2 of 5, InfoMail, Intelligent Mail, Intelligent Mail Package Barcode, Italian Post 2/5, Italian Post 3/9, Japan Post, JAN, Korean Postal Authority, Matrix 2 of 5, MSI (Modified Plessey), OneCode, Planet, Plessey, PostNet & FIM, Royal Mail 4 State, SSCC, SICI/SISAC, Swiss Post, Telepen (numeric and ASCII), UCC-14, UPC-A and UPC-E.

And the following 2D types with a 2D or Dual licence: Aztec, Datamatrix, GS1-Databar, Maxicode, PDF417 and QR Code.


Each dLSoft Active Barcode Component may be licensed as a single computer product, or as a developer's product which permits Royalty-free distribution of the run-time as part of the developer's own project for up to 10,000 distributions. Active Barcode COmponent Universal mya be licenced for 1D barcodes, 2D barcodes or both.

System Requirements

Windows Vista/Windows 7/8/10.  The 32 bit component may be used on 32 or 64 bit systems. The 64 bit components are suitable only for use on 64 bit systems.
Designed for use with MS Access (2007-2016), VBA, Visual Basic 6 or interop with WinForms projects on Visual Studio 2008-2017.

Using Active Barcode Components in Visual Basic 6

Adding the control to a Visual Basic form

To add an Active Barcode Component control to a Visual Basic form, select Components from the VB Project menu. If dLSoft 1D Barcode control module is displayed in the list of available controls, then ensure that it is checked. If it does not appear in the list user the Browse button to locate it in its installation directory (or in Windows System or System32), then check its name in the list. Once checked, an icon representing the component will appear in the toolbox.

Clicking on the Active Barcode Component’s icon in the toolbox causes the cursor to change to a cross. Positioning the cross on a Visual Basic form, holding down the left mouse button and dragging the cursor down and to the left, then releasing the mouse button, causes a rectangle to be drawn on the form. An image of a (default) barcode will be shown within this rectangle. You may wish to use this image of the component. Alternatively you may hide the component (by setting its Visible property to false) and use the components methods and properties to create an image that is placed elsewhere on the form - as in the sample Visual Basic program that is supplied with the component and uses code of the form:

Axbarcode1.ImageHeight = i
Axbarcode1.ImageWidth = j
Axbarcode1.Xunit = 0
Axbarcode1.CodeType = type
Axbarcode1.Caption = Text
Image1.Picture = Axbarcode1.Picture

A single Visual Basic Form may contain any number of Active Barcode Components. The first to be added will be called Axbarcode1, the second Axbarcode2, and so on; the names may be changed by the user by modifying the Name property within the Visual Basic Properties box.
Alternatively an array of controls may be created using the Index property.

Using the Active Barcode Components in Access

Microsoft Access is a database that holds data in tables. When an Active Barcode Component is added to an Access Form or Report as an ActiveX control, the component's Properties list allows the user to select one of the Table fields as a Source of the components data - ie the data to appear in the barcode.

The Record Source may be selected from a drop-down list in the form or report's properties list, and the barcode's Control Source may be selected from the drop down list in the component's properties list. All other properties (code type, size, font, etc.) can be selected from the other entries in the Access Properties list at design time. This allows barcode creation to be fully automatic for every record in a database.

Of course, a barcode image that is the same on every record may also be created - by ensuring that the Control Source entry on the component's properties list is empty, and the required data is entered for the Caption property.

Active Barcode Component properties for a barcode image on a form or report may also be set at run-time using Visual Basic module code to modify the control's properties.

A sample Access database is included with the distribution