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:
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.
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="http://www.YourWebServer.com/talbcocx.cab" id="TALBarCd1"></object>
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.