home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ole / wizpart.reg < prev    next >
Encoding:
Text File  |  1996-02-21  |  2.7 KB  |  57 lines

  1. --------------------------------------------------------------------------------
  2. -- FILE NAME: WIZPART.REG
  3. --
  4. -- DESCRIPTION:
  5. --   OLE Compound Document Framework registration file template
  6. --
  7. -- COPYRIGHT:
  8. --   IBM WorkFrame - Project Smarts
  9. --   (C) Copyright International Business Machines Corporation 1996
  10. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  11. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  12. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  13. --
  14. --------------------------------------------------------------------------------
  15. REGEDIT
  16. ; This .REG file may be used by your SETUP program.
  17. ;   If a SETUP program is not available, the entries below will be
  18. ;   registered in your InitInstance automatically with a call to
  19. ;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.
  20.  
  21. -- $FILE_EXTENSION$ is the first three characters of the model class name
  22. --   unless the user specifies an alternative
  23. -- $APP_SHORT_NAME$ e.g. Serv.Document
  24. -- $EXE_PATH$ e.g. C:\WORK\SAMPLE\SERV.EXE
  25. -- $APPLICATION$ not sure about this one ???? e.g. CYRSERV
  26. -- $APP_LONG_NAME$ e.g. My Server
  27. -- $CLASS_ID$ e.g. 652B8301-0FBF-11CF-BD0B-400011521204
  28. -- $AUX_USER_TYPE_THREE$ e.g. same as $APP_SHORT_NAME$
  29. -- $AUX_USER_TYPE_TWO$ e.g. same as $APP_SHORT_NAME$
  30.  
  31. HKEY_CLASSES_ROOT\.$FILE_EXTENSION$ = $APP_SHORT_NAME$
  32. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\shell\open\command = $EXE_PATH$ %1
  33. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\shell\open\ddeexec = [open("%1")]
  34. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\shell\open\ddeexec\application = $APPLICATION$
  35.  
  36.     ; note: the application is optional
  37.     ;  (it defaults to the app name in "command")
  38.  
  39. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$ = $APP_LONG_NAME$
  40. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\protocol\StdFileEditing\server = $EXE_PATH$
  41. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\protocol\StdFileEditing\verb\0 = &Edit
  42. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\Insertable =
  43. HKEY_CLASSES_ROOT\$APP_SHORT_NAME$\CLSID = {$CLASS_ID$}
  44.  
  45. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$} = $APP_LONG_NAME$
  46. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\DefaultIcon = $EXE_PATH$,1
  47. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\LocalServer32 = $EXE_PATH$
  48. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\ProgId = $APP_SHORT_NAME$
  49. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\MiscStatus = 32
  50. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\AuxUserType\3 = $AUX_USER_TYPE_THREE$
  51. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\AuxUserType\2 = $AUX_USER_TYPE_TWO$
  52. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\Insertable = 
  53. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\verb\1 = &Open,0,2
  54. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\verb\0 = &Edit,0,2
  55. HKEY_CLASSES_ROOT\CLSID\{$CLASS_ID$}\InprocHandler32 = ole32.dll
  56. 
  57.