Questions? Search our site or call us at 1-800-722-6004

Online Barcoding: Client Side Overview

Adding barcodes to web pages using the TALtech Barcode ActiveX control is extremely easy when all web clients are running Windows and Internet Explorer 4.0 or above. Internet Explorer under Windows fully supports ActiveX controls and will even automatically download and install the ActiveX control from your web server the first time a client visits a page containing a reference to the ActiveX control. Once the control has been installed on the clients PC, it does not need to be downloaded or installed again if the user visits other web pages that contain references to the control. The steps for adding client side ActiveX barcodes are as follows:

Step 1

Copy the Internet CAB file containing the redistributable version of the TALtech Barcode ActiveX control to a folder on your web server. The server can be any type of system including UNIX, Linux, Windows, etc. The TALtech Barcode ActiveX Control is provided with the necessary CAB file (approximately 500Kb) so that all you need to do is copy the supplied CAB file your server.

Step 2

Add Object tags to your HTML documents that reference the control. The following sample object tags show how to insert a TALtech Barcode Object into an HTML document. The first object points to a LPK (license) file that must be installed on the users system in their Windows folder. The TALtech Barcode ActiveX Control will not be scriptable in Internet Explorer without this file installed. The LPK file is installed automatically from the Internet CAB file and the Setup program that comes with the TALtech Barcode ActiveX Control. The second object tag below is for the actual control. The name of the control is set using the ID="controlname" setting and the CODEBASE tag points to a web URL or a file path where the setup program for the control can be found if the control is not currently installed on the user's system. If the control is not installed then the client's browser will automatically download the control from the specified URL and install it. The TALtech Barcode ActiveX Control comes complete with a fully code signed CAB file (signed with Verisign's Authenticode technology) so that all you need to do is copy the supplied CAB file to a folder on your web server. Note: The URL in the CODEBASE tag should reference the CAB file on your web server.

To place a TALtech Barcode ActiveX Control in a HTML document you simply add the following object tags to your document where you want a barcode to appear.

<object classid="CLSID:5220cb21-c88d-11cf-b347-00aa00a28331"><param name="LPKPath" value="Talbc.lpk" /></object><object classid="CLSID:C917E12F-9757-11D2-85DB-F01851C10000" codebase="" id="TALBarCd1"></object>

Step 3

Add VBScript or JavaScript code to your HTML document to set the properties of the control so that it generates the type of barcode that you want as well as the message that you want to encode in the barcode.

To set properties of the TALtech Barcode ActiveX Control after it has been placed in an HTML document, you would use JavaScript or VBScript code similar to the following line:


Refer to the documentation that comes with the TALtech Barcode ActiveX Control for a complete reference to all of the properties and methods that are available in the control.

Categories: General Product Support, Barcode ActiveX

Last Updated: 2011.07.06

Need more help?

Don't hesitate to call or email us with your questions

Our office is open 9AM - 5PM Monday Through Friday (E.S.T.)

Technical Support: 215-496-0202

Toll-Free: 1 (800) 722-6004
Skype: taltech1 (Voice only)