IDAutomation.com, Inc. |
Your Source for Quality Symbology |
Our PDF417 Bar Code ActiveX Controls are easy to use "drag and drop" automation tools that will work in any Windows application that supports ActiveX control technology including Microsoft Access, MS Office, Word, Excel, Visual Basic, Visual FoxPro, C++ and Internet Explorer web pages. This control does not require barcode fonts because it generates a Windows Metafile Image. Our advanced control also works as a barcode DLL that can print, return or save a WMF image.
[Order Now | Tech Support | Programmer Notes]
ActiveX Control Tutorial |
Our ActiveX Controls are easy to use "drag and drop" automation tools that will work in any Windows application that supports ActiveX control technology. Using our controls is a simple 3 step process.
Step 1 - install and register the control
You must install and register the control in Windows before applications will be able to "see" it. We have provided an installation utility that performs both of these tasks for you. After installing the ActiveX control package you purchased or downloaded, the control is installed and registered on that PC.
Step 2 - install the control in your application
After you have installed the control on your PC, you may use it in any application that can use ActiveX controls. For applications that are not listed here, search your application's help file for information on how to use ActiveX controls. Below are a few examples of implementing our controls in Microsoft Word, Excel, Access, FrontPage and Visual Basic.
MS Word Installation
In Microsoft Word, choose View - Toolbars - Control Toolbox. You will then
see a tool box. On the tool box, choose the more controls button that looks like
this:
Then, select the barcode control from the list of available ActiveX Controls.
After selecting it, the control will appear in the document. After this, you may
size the control as necessary. To change the properties of the control such as
barcode height and symbology type, right click on the control and choose
properties. When you are finished, you may exit design mode by choosing the
design mode button that looks like this:
You must be in design mode to edit the properties of the control. If you have problems editing the properties of the control, press the design mode button to enable it.
MS Access Installation
In a Microsoft Access report in design mode, choose insert - ActiveX control.
After this you may size the control as necessary. To change the properties of
the control such as barcode height and symbology type, right click on the
control and choose properties.
To bind
the control to a data source, enter the table and field or formula in the
control source field. The proper barcode will show up after the report is saved.
MS Excel Installation
In Microsoft Excel, choose View - Toolbars - Control Toolbox. You will then
see a tool box. On the tool box, choose the more controls button that looks like
this:
Then, select the barcode control from the list of available ActiveX Controls.
After selecting it, click and drag an area for the control to appear in the
spreadsheet. After this you may
size the control as necessary. To change the properties of the control such as
barcode height and symbology type, right click on the control and choose
properties. When you are finished, you may exit design mode by choosing the
design mode button that looks like this:
You must be in design mode to edit the properties of the control. If you have problems editing the properties of the control, press the design mode button to enable it.
To link a cell to the data you want encoded in the barcode, enter the cell in the "LinkedCell" property of the control.
MS FrontPage Installation
In Microsoft FrontPage, choose Insert - Advanced - ActiveX Control. The control will then appear in the web page. The control must be installed on every PC that access the web page that displays the ActiveX control and the control will only work with Internet Explorer.
Microsoft Visual Basic 6
In Visual Basic, choose Project - Components from the menu. Select the barcode control. Then choose View - Toolbox. The control should appear in the toolbox for you to add to your project. Refer to the Visual Basic example provided with the installation for more information.
In a form, select the "OLE Container" from the standard toolbox. After the "Insert Object" dialog box opens, select an ActiveX Control that begins with "IDAutomation". The characteristics can then be modified in the properties window. To print bar codes on reports or labels, a field must be used to store the barcode and it must be setup as an OLE Control with data type general. Download our VFP bar code example for an implementation example that was created in VFP 6.0.
Visual C++
Choose the resource tab in Visual C++ to view the dialogs. To add a control to the dialog, right click on the dialog form to the right and choose "Insert ActiveX Control". Select the correct barcode control from the list. The control should then appear in the dialog. Download our C++ project example (it is in a zip file) for an implementation example.
Step 3 - adjust the properties of the control
After you insert the control in your application as described in step 2, you may adjust the properties of the control. To do this, usually you must right click on the control and choose Properties.
This section explains the main configuration parameters of the control:
NOTE: Many of the barcode sizing parameters are calculated in CM (centimeters). To convert inches to CM, multiply the value in inches by 2.54. To convert mils to CM, multiply the mils value by .0254.
Using the Metafile Image Generator
Our Metafile Image Generator is provided as a tool you can use to copy barcodes into any Windows application that supports WMF images. VB source code is also provided with this application for programmers that wish to customize or automate bar-code generation. To create a barcode with this application, you will need to do the following:
To obtain technical support for this application, please visit our ActiveX Control Technical Support Site.
Technical support
To obtain technical support for our controls, please visit our ActiveX Control Technical Support Site.
Notes for programmers
Distribution with your application - distribution of our products outside your organization requires a Corporate Distribution License.
After installation, the file to distribute will be in the system directory and begins with "IDAutomation". You only need to distribute the single DLL file, IDAutomationPDF417.dll. When distributing the control manually, it is necessary to copy it to the "System" directory of the destination PC and then type "REGSVR32 IDAutomationPDF417.dll" at the prompt. This process can be automated with installation utilities. When distributing the control with your application, make sure you choose the option to register it. Below is a sample of a SETUP.LST file used by the Visual Basic package and deployment wizard. NOTE: Distribution of our products outside your organization requires a Corporate Distribution License.
[Setup1 Files]
File1=@IDAutomationLinear.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/19/01 1:30:04 PM,94208,1.0.0.6
Our ActiveX Controls are packaged by the Setup Generator Pro application. In the Setup Generator Pro application, we choose the "Register as OCX or DLL" option for the DLL file. This is an easy to use, yet powerful application that does not have any runtime requirements like the Visual Basic package and deployment wizard does, and it costs less than $100. We recommend using this setup application if you intend to distribute the control to other PCs and you do not already have a setup application. Click here to order a copy of this setup application.
Additional Functions and DLL Use
In addition to the functions that are obvious in the properties of the control, we have added other functions to our control so it may be used as a DLL:
DLL Usage Example:
BarCode1.FixedResolutionCM = 118 'for 300 dpi image 300/2.54=118 BarCode1.SetPixelsXY 600, 400 'set the size of the image BarCode1.DataToEncode="12345678901" BarCode1.SaveEnhWMF "C:\barcode.wmf" BarCode1.GetXPixels XPixels 'XPixels should = 600 'Send the image to the clipboard... Clipboard.SetData BarCode1.GetEnhWMF, vbCFMetafile 'Print the barcode directly to the printer, start at position x=2048,y=1024 Printer.PaintPicture BarCode1.Picture, 2048, 1024
|
You may also view our product index to obtain a list of all products we offer.
Copyright © 2001 IDAutomation.com, Inc. All rights reserved. All trademarks mentioned are the property of their respective owners.