Home
SEARCH

 

Code Samples for the TALtech Bar Code ActiveX Control


These samples require that you have the TALtech Bar Code ActiveX control installed on your system (i.e. they do not include either the demo or the commercial release of the bar code ActiveX control). More code examples are installed with the ActiveX Control (including the demo) and can be found (after installation) by clicking on Start > Programs > TALtech Bar Code ActiveX.

ActiveX Macro Library
Sample macros for Microsoft Word, Excel, etc.

ASP.NET (Framework Version 2) Sample Code

Active Server Pages (ASP) samples
Demonstrates how to use the TALtech Bar Code ActiveX control in a Server Side Bar Code Application.

Sample Sequential Bar Code Generation for Access
This file contains a sample Access database application that uses the TAL Bar Code ActiveX control to print a sequence of bar code labels. It demontrates how to create a label report in Access without requiring the report to be based on a table or a query. In this sample, you specify a starting bar code number, an increment value, and the total number of labels to print.

Visual Basic.NET Sample Project
This sample VB.NET application demonstrates the proper techniques for printing bar codes or bar code lables as well as for displaying and manipulating bar codes in VB.NET forms.

C++ sample program
This program demonstrates how to dynamically create, move and size the TALtech Bar Code ActiveX control in a window.

Visual FoxPro 6.0 Example
FoxPro 6.0 does not support the use of ActiveX Controls on reports, however it is possible to workaround this problem. This example demonstrates how to use the ActiveX Control on a form to save the bar code image to disk as a Bitmap image, then insert that image into a General Field in a table. From there, it is just a matter of adding that general field to the report.

It appears that Visual FoxPro 8.0 finally supports the use of ActiveX controls on reports and we will put together a sample for that version as soon as possible.

Note: Plus (or Demo) version of the ActiveX control is required as the bar code images must be converted to bitmaps.

Delphi Example for the ActiveX Control
A Delphi version of the Visual Basic Demo that comes with the control. This sample requires that you have the TALtech Bar Code ActiveX control installed on your system (i.e. it does not include either the demo or the commercial release of the bar code ActiveX control).

Active Template Library (ATL) sample application
Demonstrates how to use the TALtech Bar Code ActiveX control in a windowless ATL program. Includes all source code.

Sample Bar Code Label printing program for Visual Basic
This file contains the complete source code for a very simple bar code label printing program. It was written in Visual Basic 6.0 and it uses the TALtech Bar Code ActiveX control to print bar code labels onto standard Avery label stock. This program is designed to demonstrate how to print multiple bar code labels onto standard laser label stock. It is by no means a complete and polished label printing program however it is a good starting point if you need to add this sort of functionality to your own Visual Basic programs.