REGEDIT
; This .REG file may be used by your SETUP program.
; If a SETUP program is not available, the entries below will be
; registered in your InitInstance automatically with a call to
; CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.
HKEY_CLASSES_ROOT\.txt = Ch10Demo1.Document
HKEY_CLASSES_ROOT\Ch10Demo1.Document\shell\open\command = CH10DEMO1.EXE %1
HKEY_CLASSES_ROOT\Ch10Demo1.Document\shell\open\ddeexec = [open("%1")]
HKEY_CLASSES_ROOT\Ch10Demo1.Document\shell\open\ddeexec\application = CH10DEMO1
; note: the application is optional
; (it defaults to the app name in "command")
HKEY_CLASSES_ROOT\Ch10Demo1.Document = Ch10De Document