PDA

View Full Version : Installing ActiveX



NewsArchive
04-18-1997, 12:00 AM
I am writing a program to display Adobe Acrobat documents (PDF) inside of a
window.
Adobe has an .OCX file which does this (PDF.OCX).

When I try to install my program on another machine, it will crash when it
tries to load the form with the PDF.OCX control in it. Adobe tech support
says that the PDF.OCX is an ActiveX control and that Internet Explorer must
be installed in order for ActiveX controls to work. It works fine on my
machine because I have IE installed.

I need to have the proper files installed and registered in order for the
ActiveX control to work. Will InstallShield Express take care of this for
me? If not, what do I need to do in order to create an install? I do not
want to make users have IE installed.

Thanks in advance,

NewsArchive
04-18-1997, 12:00 AM
The dependencies for PDF.OCX include WININET.DLL
& URLMON.DLL and as Microsoft puts it :
"AXDist.exe, WINTDist.exe, WINT351.exe, CCDist.exe,
CCDist35.exe, and APRXDist.exe are self extracting installation
files which are intended to be the only vehicle through which
ISVs can redistribute and install The DLLs with their ActiveX code.
Their purpose is to allow ISVs to ship code without being dependent
on the presence of Internet Explorer 3.0 on the target machine."

Hence to install these DLLS you have to execute AXDist.exe on
the target machine. One of the places you can get AXDist.exe is from
"setupkit\kitfil32\sys32" under the directory where VB5 is installed.

From the InstallShield Express Professional 1.11 perspective you should
specify AXDist.exe as an EXE extension which is to be executed just
before the "Progress Indicator" comes up. This will ensure the proper
registration of PDF.OCX which will be done automatically by Express
since the version information of this OCX has the OLESelfRegister
string.


Business Planner Project <stlouism@duke.usask.ca> wrote in article
<01bc4b98$d6c86220$cf3be980@ag59207.usask.ca>...
> I am writing a program to display Adobe Acrobat documents (PDF) inside of
a
> window.
> Adobe has an .OCX file which does this (PDF.OCX).
>
> When I try to install my program on another machine, it will crash when
it
> tries to load the form with the PDF.OCX control in it. Adobe tech
support
> says that the PDF.OCX is an ActiveX control and that Internet Explorer
must
> be installed in order for ActiveX controls to work. It works fine on my
> machine because I have IE installed.
>
> I need to have the proper files installed and registered in order for the
> ActiveX control to work. Will InstallShield Express take care of this
for
> me? If not, what do I need to do in order to create an install? I do
not
> want to make users have IE installed.
>
> Thanks in advance,
>