How to Use Black Ice CAB Files
There have been a couple of questions about using CAB files. This article summarizes the answers about them.
If one wants to create an own website on the one’s server, and the html pages
use some of the Black Ice controls, here are some things that could help during
the development.
1. The .lpk, .cab, and .html or .htm files must be in the server.
2. These files must be in the same directory.
3. The references to .cab files could be relative or direct, but the reference
to the .lpk file must be direct as in the following sample code snippet:
…
<object classid="clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
<param name="LPKPath" value="http://127.0.0.1/Image.lpk">
</object>
…
<object id="BIDISP" width=100% height=100%
classid="CLSID:19B50C95-6BB5-4DFD-B20C-5B9A61FA1C0D"
codebase="http://127.0.0.1/Image.cab"></object>
…
<object id="BITIFF" width=0 height=0
classid="CLSID:2324B5B7-D3EF-464C-BB35-06EFF8F11EB3"
codebase ="./Image.cab"></object>
…
4. For example the Black Ice Image.cab contains the BiThumbnail.dll and ocx.
This control was developed with Visual Studio 2005, so it uses some of the .NET
dlls. If the client browser tries to load this cab file it will require for
these .NET dlls, so the .NET framework (or at least the vcredist_x86.exe) must
be installed on the client’s machine.
More examples may be seen in the Internet Imaging samples which are included
in the Document Imaging SDK and Image SDK.