ComponentOne Chart 8.0 for ActiveX
A: Creating the .INF file

 

A: Creating the .INF file

In order for your browser to correctly load and run ComponentOne Chart you must create an .INF file that lists all of the control’s dependencies. Create a text file with the suffix .INF that lists all of the files needed for this component.  For 32-bit ComponentOne Chart 2D, the files needed are:

olch3x8.ocx
msvcrt40.dll
mfc40.dll

Here are the contents of an example .INF file called OLECTRA.INF:

[Add.Code]
olch3x8.ocx=olch3x8.ocx
mfc40.dll=mfc40.dll
msvcrt40.dll=msvcrt40.dll

[olch3x8.ocx]
File=thiscab
Clsid={3D931501-4601-11CF-80B2-0020AF19EE14}

[mfc40.dll]
File=http://www.yoursite.com/yourdemo/mfc40.cab

[msvcrt40.dll]
File=http://www.yoursite.com/yourdemo/msvcrt40.cab

Notes:

·      Italicized characters in the above example should be replaced with the URL where these .CAB files will be located on your web server.

·      Many users may already have the mfc40.dll and msvcrt40.dll files available on their computers from prior software installations, so this .INF file will instruct Internet Explorer to download them only if necessary.

To minimize download time, compress these files individually using cabarc.exe. For more information, see the following section.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback