Font Source Code, Header Files & Modules

This source code resource page contains important source code, header files,  and modules to help generate readable barcodes from fonts in Visual Basic, 4D, FoxPro, ANSI C, C++, PowerBuilder, Oracle, LotusScript, and Java. The source code, header files, and modules are available here to help IDAutomation barcode font users more easily format the start and stop characters, data strings, and checksum characters for demo or purchased barcode fonts.

All IDAutomation source code is copyrighted and can be incorporated into an application with the purchase of a valid Developer License for the associated barcode font, and the copyright notices are not removed from the source code. Distributing IDAutomation source code or fonts outside of a company or organization requires a Developer License.  If IDAutomation barcode font source code is created that might be shared with others, please contact IDAutomation. In some cases, a discount may be provided for IDAutomation's products if a working source code is provided that would be beneficial to others.

Visual Basic & VB.NET Barcode Font Module

Download the Visual Basic Barcode Font Encoder Module for VB 6 and VB.NET to calculate a barcode's start, stop and check digits and return a special string of characters that will generate a readable barcode when the appropriate IDAutomation font is applied to it. This method requires nothing to distribute with the application except the barcode font because the functions of the module are compiled into IDAutomation's EXE file. The module is free to use with the purchase of any Developer License of IDAutomation's barcode fonts. Also, review the Visual Basic Barcode Integration Guide for instructions about how to use the module.

Support for Universal barcode fonts or DataBar fonts is provided in a VB & VBA module in their respective packages.

ANSI C & C++ Barcode Source Code

With the purchase of a developer license or greater, IDAutomation includes source code and header files in C++ with all barcode font packages including QR Code, Data Matrix, DataBar, PDF417, Code 39, UPC-A, UPC-E, EAN-8, EAN-13, USPS IMb, ITF, Code 128, and MSI. The Code128() function also supports GS1-128. The header file was written to be ANSI C compatible and has been tested in Visual Studio C++.

Included in the Developer Tool's folder of the licensed font package will be the C++ header file that can be added to the application. The text can be formatted for IDAutomation's barcode fonts by adding an include statement such as #include "IDAutomation.h" to the project and then accessing the function this way:

output = Code128b("abc12345");

Note: Use of the C++ Source Code, requires a Developer License or above. This font encoder is supplied with the purchase of a Developer's License or above of any Barcode Font Package.

Visual C# Microsoft C Sharp Barcode Integration

For C#, please refer to IDAutomation's C Sharp Barcode FAQ and Tutorial. IDAutomation's Barcode C sharp class library is included in the Developer Tool's folder of the licensed font package.

Note: Use of this C# Class, requires a Developer License or above. This font encoder is supplied with the purchase of a Developer's License or above of any Barcode Font Package..

Omnis 4GL Barcode Source Code

This Omnis 4GL barcode source code was written for Code 128 character set C for the Mac.

PowerBuilder Barcode Source Code

The PowerBuilder barcode source code is used to create the proper string for the Code 128 Barcode Font.

Note: Use of this source, requires a Developer License or above. This font encoder is supplied with the purchase of a Developer's License or above of the Code 128 Font Package.

4th Dimension 4D Barcode Source Code

This 4D barcode source code was written for Code 128 character set B on the Mac.

IDAutomation also provides other more advanced source code for Code 128 Auto.

Mac AppleWorks Barcode Calculations

Mac Apple Works calculations for Postnet barcode fonts.

Oracle Reports & PL/SQL Barcode Library

IDAutomation has a compiled Barcode Library for Oracle Reports which is a PLL file that formats data from fields in the report to IDAutomation's barcode fonts to create a correct barcode. PL/SQL source code is also provided for advanced Oracle programmers in the IDAutomation.pkg file, which is included in the Developer Tool's folder of the licensed font package. Also, see IDAutomation's write-up about installing barcode fonts for Oracle Reports on UNIX.

Note: Use of this pll, requires a Developer License or above. This font encoder is supplied with the purchase of a Developer's License or above of any Barcode Font Package.

FoxPro & Visual FoxPro Barcode Source Code

The Visual FoxPro Barcode Source Code includes most of the barcode functions listed at the bottom of this page. Add this file as a program module to the VFP project, set it as a procedure file using SET PROCEDURE TO .. ADDITIVE command somewhere in the main (startup) code of the project and access the function in the application as necessary. IDAutomation has demonstrated how this works in the Visual FoxPro Sample Project.

All IDAutomation source code is copyrighted and can be incorporated into an application with the purchase of a valid Developer License for the associated barcode font, and the copyright notices are not removed from the source code.

VB Barcode Source Code, Function List & Conversion

IDAutomation's Visual Basic source code can be used in Lotus applications as LotusScript such as Lotus Smart Suite, Lotus Approach,  and Lotus Notes. The VB source code listed here can also be used for MS Office as VBA code (also called VB Script) to create macros in Visual Basic.

All IDAutomation source code is copyrighted and can be incorporated into an application with the purchase of a valid Developer License for the associated barcode font, and the copyright notices are not removed from the source code.

IDAutomation writes Visual Basic barcode source code using as few functions as possible to allow for easy conversion to other programming languages. If the source code is created in another language and may be shared with others, please contact IDAutomation. Discounts may be provided for IDAutomation's products, in some cases, if working source code is provided that would be beneficial to others. View or download the Visual Basic barcode source code only, as the module is not included here.