You only need to copy and register the OCX files for those components that you program uses on the destination computer to successfully distribute our ActiveX components. You can follow one of the following methods to distribute our components. Our ActiveX components have no dependencies on any other operating system files.
WARNING!: under our license agreement, you are not allowed to distribute the LIC (license) files that are associated with our ActiveX components to your end user's computers. Also, there is generally no need to distribute the associated TLB files. Just distribute the OCX files.
This method involves a manual installation of your compiled software and our ActiveX components. This is generally used in situations where you are only distributing your application to a few number of computers.
Copy the OCX files that your program requires (Example: copy the "iStripChartXComponent.ocx" and "isAnalogLibrary.ocx" files if your program uses our Strip Chart and Analog Gauge components) to the target computer's system directory. This is usually "C:\WINDOWS\SYSTEM" for Windows 95/98 and "C:\WINNT\SYSTEM32" for Windows NT/2000 systems.Open up a command or DOS prompt and execute the following command in the system/system32 directory where you placed the OCX files. You can also use the START/RUN command...
Windows 95/98
Component Command Line Run Command Analog (isAnalogLibrary.ocx) regsvr32 isAnalogLibrary.ocx regsvr32 c:\windows\system\isAnalogLibrary.ocx Digital (isDigitalLibrary.ocx) regsvr32 isDigitalLibrary.ocx regsvr32 c:\windows\system\isDigitalLibrary.ocx Strip Chart (iStripChartXControl.ocx) regsvr32 iStripChartXControl.ocx regsvr32 c:\windows\system\iStripChartXControl.ocx Professional (iProfessionalLibrary.ocx) regsvr32 iProfessionalLibrary.ocx regsvr32 c:\windows\system\iProfessionalLibrary.ocx Plot Library
(iPlotLibrary.ocx)regsvr32 iPlotLibrary.ocx regsvr32 c:\windows\system\iPlotLibrary.ocx
Windows NT/2000
Component Command Line Run Command Analog (isAnalogLibrary.ocx) regsvr32 isAnalogLibrary.ocx regsvr32 c:\winnt\system32\isAnalogLibrary.ocx Digital (isDigitalLibrary.ocx) regsvr32 isDigitalLibrary.ocx regsvr32 c:\winnt\system32\isDigitalLibrary.ocx Strip Chart (iStripChartXControl.ocx) regsvr32 iStripChartXControl.ocx regsvr32 c:\winnt\system32\iStripChartXControl.ocx Professional (iProfessionalLibrary.ocx) regsvr32 iProfessionalLibrary.ocx regsvr32 c:\winnt\system32\iProfessionalLibrary.ocx Plot Library (iPlotLibrary.ocx) regsvr32 iPlotLibrary.ocx regsvr32 c:\winnt\system32\iPlotLibrary.ocx Copy your compiled program to a directory of your choice and create shortcuts for your application as needed.
You can also download a sample batch file that will do the registrations for you on any 32-bit Windows system: regiocomp.bat [3 KB]
Note: this batch file assumes that you have placed your OCX files in either the Windows System or System32 directories (All 32-bit versions of Windows are supported).Other ActiveX controls that you may need from other manufacturers can be registered in the same way. However, they may have dependencies on other system file that you will have to determine by reviewing the ActiveX component's documentation or by contacting the manufacturer. These dependencies are usually satisfied by copying required DLLs to the system directory.
This method is the preferred option if you are planning on distributing your application to many computers or if you will be having your end users install your software on their own.
- Most installation programs such as InstallShield, WISE Installer, Microsoft SMS Installer, NullSoft's Install System (Freeware), etc. can automatically register ActiveX controls for you. Refer to the installation software manufacturer's manual and help files for instructions on automatically registering ActiveX controls on your target computers. Iocomp uses the InstallShield installer to initially register your development ActiveX controls on your computer. Many corporations already have licenses for Microsoft SMS Installer, so that is generally the installer of choice for internal software distributions. If you are on a budget, NullSoft's Installer is easy to use, lightweight, and free.
This method is used when distributing our ActiveX components for use with Internet Explorer. Refer to our Internet Explorer Example for more information..
Copyright ©1998-2007 Iocomp Software Incorporated. Iocomp and the Iocomp Logo are registered trademarks of Iocomp Software Inc. All other trademarks are registered by their respective owners.