G
Gavin
Hi
I want to associate a file extension, '.xpf', with my
application. However, I do not want to use the
application's icon but anther icon, something similar to
Word and Excel documents icons.
So I need to embed the document icon into the .exe file
and add into the .inf file something like:
[RegData] ; registry key list
HKCR,.xpf,,,MyCompany.MyApp
HKCR,MyCompany.MyApp\DefaultIcon,,,"%InstallDir%\%
AppName%.exe,-123"
where 123 is the resource ID of the icon embedded into
the .exe file.
It this possible in .NET Compact Framework? IF it is how
do I get the resource ID of the icon embedded in the .exe
file?
Help
Gavin
I want to associate a file extension, '.xpf', with my
application. However, I do not want to use the
application's icon but anther icon, something similar to
Word and Excel documents icons.
So I need to embed the document icon into the .exe file
and add into the .inf file something like:
[RegData] ; registry key list
HKCR,.xpf,,,MyCompany.MyApp
HKCR,MyCompany.MyApp\DefaultIcon,,,"%InstallDir%\%
AppName%.exe,-123"
where 123 is the resource ID of the icon embedded into
the .exe file.
It this possible in .NET Compact Framework? IF it is how
do I get the resource ID of the icon embedded in the .exe
file?
Help
Gavin