Distributing OLE Applications

See AlsohowOLEAppSee

When you create and distribute applications that use the OLE control, you should install the following files in the customers Microsoft Windows \SYSTEM directory:

         COMPOBJ.DLL

         MSOLE2.VBX

         MSOLEVBX.DLL

         OLE2.REG

         OLE2.DLL

         OLE2CONV.DLL

         OLE2DISP.DLL

         OLE2NLS.DLL

         OLE2PROX.DLL

         STORAGE.DLL

         VBOA300.DLL

 

The OLE control can be used only on systems running Microsoft Windows version 3.1 or later.

You also need to make sure OLE 2.0 is registered on the users machine and that SHARE.EXE is installed in the users AUTOEXEC.BAT file (SHARE.EXE is not required if the user is running Microsoft Windows for Workgroups).  Use the SetupWizard to create distribution disks that do this.  When specifying files to distribute, choose Add OLE Files from the Options menu.

To install OLE 2.0 without using the SetupWizard or the Setup Toolkit

   1. Check to see if OLE 2.0 has already been installed.  If OLE2.DLL is on the users machine, then OLE 2.0 has already been installed.  If the user does not have the most current version of OLE2.DLL, you can install the new version using the following steps.

   2. Copy the above files to the users \WINDOWS\SYSTEM directory.

   3. Register OLE 2.0 using the following command line:
REGEDIT /S OLE2.REG