1
Vote

Create document icon

description

A document icon should be created. This icon should be registered with the device DAM is installed to so that DAM project files are displayed using this icon. The file type should also be registered so that when clicked, DAM should be opened.
 
The following infor was taken from http://www.pocketpcdn.com/forum/viewtopic.php?t=2072&view=next&sid=c6c8bc3fa240aac166a7948948469789:
 
1. Add corresponding icon to your .exe file. Let's say its ID is 1234. 
2. Add the following information to registry: 
Code: 
    HKCR,.xyz,,0x00000000,myxyzfile
    HKCR,myxyzfile,EditFlags,0x00010001,00010000
    HKCR,myxyzfile,,0x00000000,My XYZ File
    HKCR,myxyzfile\Shell\Open\Command,,0x00000000,"\Program Files\MyProgram\MyProgram.exe" "%1"
    HKCR,myxyzfile\DefaultIcon,,0x00000000,\Program Files\MyProgram\MyProgram.exe,-1234

comments