home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / bindscrb / scribble.reg < prev    next >
Encoding:
Windows Registry Data  |  1998-03-27  |  2.2 KB  |  35 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. HKEY_CLASSES_ROOT\.SCB = Scribble.Document.1
  8. HKEY_CLASSES_ROOT\Scribble.Document.1\shell\open\command = SCRIBBLE.EXE %1
  9. HKEY_CLASSES_ROOT\Scribble.Document.1\shell\open\ddeexec = [open("%1")]
  10. HKEY_CLASSES_ROOT\Scribble.Document.1\shell\open\ddeexec\application = SCRIBBLE
  11.     ; note: the application is optional
  12.     ;  (it defaults to the app name in "command")
  13.  
  14. ; These lines would not have been included if the tutorial was started
  15. ; from the beginning.  These lines for OLE server capability are included
  16. ; for information purposes only.  The REG file is optional, since Scribble
  17. ; will automatically register itself the first time it is run.
  18. HKEY_CLASSES_ROOT\Scribble.Document.1 = Scrib Document
  19. HKEY_CLASSES_ROOT\Scribble.Document.1\protocol\StdFileEditing\server = SCRIBBLE.EXE
  20. HKEY_CLASSES_ROOT\Scribble.Document.1\protocol\StdFileEditing\verb\0 = &Edit
  21. HKEY_CLASSES_ROOT\Scribble.Document.1\Insertable =
  22. HKEY_CLASSES_ROOT\Scribble.Document.1\CLSID = {00027800-0000-0000-C000-000000000046}
  23.  
  24. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046} = Scrib Document
  25. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\DefaultIcon = SCRIBBLE.EXE,0
  26. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\LocalServer32 = SCRIBBLE.EXE
  27. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\ProgId = Scribble.Document.1
  28. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\MiscStatus = 0
  29. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\AuxUserType\3 = Scribble
  30. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\AuxUserType\2 = Scrib
  31. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\Insertable =
  32. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\verb\1 = &Open,0,2
  33. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\verb\0 = &Edit,0,2
  34. HKEY_CLASSES_ROOT\CLSID\{00027800-0000-0000-C000-000000000046}\InprocHandler32 = ole32.dll
  35.