Distributing ComponentOne Chart Applications > Distributing 32-bit OCX Applications > Distributing ComponentOne Chart in Visual Basic |
In order to distribute ComponentOne Chart using VB 6, you must run the Package & Deployment wizard (located in “your VB directory”\Wizards\PDWizard ) once to create a file vb6dep.ini. The following dependences must be added to this file so you can distribute an application created with ComponentOne Chart:
[OLCH2X8.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
[OLCH3X8.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Note that the above file contains the dependencies for both the 2D and 3D ComponentOne Chart controls.
Once you have added the above dependencies, run the Setup wizard and follow the directions on each screen. On the Confirm Dependency screen, make sure you include the OCX files.
In VB 6, on the Included Files Screen, make sure the following files have been included:
OLCH2X8.OCX
OLCH3X8.OCX
In VB 5, on the File Summary screen, make sure the following files have been included:
OLCH2X8.OCX
OLCH3X8.OCX