home *** CD-ROM | disk | FTP | other *** search
/ BUG 4 / BUGCD1997_05.BIN / aplic / visualj / vjtrial.exe / RCDATA / CABINET / mfcapwz.dll / TEMPLATE / ROOT.REG < prev    next >
Windows Registry Data  |  1997-01-28  |  3KB  |  54 lines

  1. REGEDIT
  2. ; This .REG file may be used by your SETUP program.
  3. ;   If a SETUP program is not available, the entries below will be
  4. ;   registered in your InitInstance automatically with a call to
  5. ;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.
  6.  
  7. $$IF(HAS_SUFFIX)
  8. $$IF(!MINI_SERVER)
  9. HKEY_CLASSES_ROOT\$$SUFFIX$$ = $$DOC_REGID$$
  10. HKEY_CLASSES_ROOT\$$DOC_REGID$$\shell\open\command = $$ROOT$$.EXE %1
  11. HKEY_CLASSES_ROOT\$$DOC_REGID$$\shell\open\ddeexec = [open("%1")]
  12. HKEY_CLASSES_ROOT\$$DOC_REGID$$\shell\open\ddeexec\application = $$ROOT$$
  13.     ; note: the application is optional
  14.     ;  (it defaults to the app name in "command")
  15. $$ENDIF //!MINI_SERVER
  16. $$ENDIF //SUFFIX
  17.  
  18. $$IF(PROJTYPE_DLG)
  19. HKEY_CLASSES_ROOT\$$Safe_root$$.Application = $$Safe_root$$ Application
  20. $$ELSE //!DLG
  21. HKEY_CLASSES_ROOT\$$DOC_REGID$$ = $$DOC_REGNAME$$
  22. $$ENDIF //DLG
  23. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  24. HKEY_CLASSES_ROOT\$$DOC_REGID$$\protocol\StdFileEditing\server = $$ROOT$$.EXE
  25. HKEY_CLASSES_ROOT\$$DOC_REGID$$\protocol\StdFileEditing\verb\0 = &Edit
  26. HKEY_CLASSES_ROOT\$$DOC_REGID$$\Insertable =
  27. HKEY_CLASSES_ROOT\$$DOC_REGID$$\CLSID = {$$APP_CLSID_REG$$}
  28.  
  29. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$} = $$DOC_REGNAME$$
  30. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\DefaultIcon = $$ROOT$$.EXE,1
  31. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\LocalServer32 = $$ROOT$$.EXE
  32. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\ProgId = $$DOC_REGID$$
  33. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\MiscStatus = 32
  34. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\AuxUserType\3 = $$Root$$
  35. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\AuxUserType\2 = $$DOC_FILENEW$$
  36. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\Insertable = 
  37. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\verb\1 = &Open,0,2
  38. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\verb\0 = &Edit,0,2
  39. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\InprocHandler32 = ole32.dll
  40. $$ELIF(AUTOMATION)
  41. $$IF(PROJTYPE_DLG)
  42. HKEY_CLASSES_ROOT\$$Safe_root$$.Application\CLSID = {$$APP_CLSID_REG$$}
  43.  
  44. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$} = $$Safe_root$$ Application
  45. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\ProgId = $$Safe_root$$.Application
  46. $$ELSE //!DLG
  47. HKEY_CLASSES_ROOT\$$DOC_REGID$$\CLSID = {$$APP_CLSID_REG$$}
  48.  
  49. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$} = $$DOC_REGNAME$$
  50. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\ProgId = $$DOC_REGID$$
  51. $$ENDIF //DLG
  52. HKEY_CLASSES_ROOT\CLSID\{$$APP_CLSID_REG$$}\LocalServer32 = $$ROOT$$.EXE
  53. $$ENDIF //SERVERS&AUTOMATION
  54.