Hi all,
So far I have been able to develop code that will associate an extension
'*.sch' with my application, by setting registry enteries.
The association works file, and on double clicking the file, it will
start in my Schematic application.
However, I can NOT get the ICON to associate with it.
So i have set a registery item for '.sch' to be registered as
Schema_File as:
HKEY_CLASSES_ROOT\.sch
@="Schema_File"
And set Schema_File to:
HKEY_CLASSES_ROOT\Schema_File
@="Schematic File"
HKEY_CLASSES_ROOT\Schema_File\shellopen\command]
@="C:\SCHEMA\CIRCSCHEMA.EXE \"%1\""
and
HKEY_CLASSES_ROOT\Schema_File\DefaultIcon]
@="C:\SCHEMA\CIRCSCHEMA.EXE,1"
But just setting "DefaultIcon" does not seem to work for specifying an
icon, so is anyone else familiar with what else do I need.
Regards,
Charles Hacker