1

7
olestore.exe HKEY_CLASSES_ROOT.application @= c:
vb5 se
samples
chapter 17
olestore.exe ; Associate .OLE file extension with the progID. HKEY_CLASSES_ROOTȯle = olestore.application ; Enables drag-drop to program icon (starts application) [HKEY_CLASSES_ROOT.application] @="99920810-0000-0000-C000-000000000046" : Adds OLEStore to File/New context menu from desktop [HKEY_LOCAL_MACHINEȯle] @="olestore.application" [HKEY_LOCAL_MACHINEȯle] "Command"="c:
vb5 se
samples
olestore.exe /n&quot;&quot; @=&quot;OLE Storage File&quot;</FONT></tt></pre> <LI>Merge the registration file. The following command line merges the file OLESTORE.REG with the Registry. The /s switch merges the changes silently - no confirmation dialog box is shown. <p><pre><tt> <FONT COLOR="#008000"> regedit /s olestore.reg</FONT></tt></pre> <LI>After merging the file, you can view the changes using the Registration Info Editor (see Figure 19.4). </ol> <P><a href="figs/19fig04.gif"><B>FIG. 19.4</a></b> <P><i>The Registry entries for OLESTORE.REG.</i> </BODY> </HTML>