Application icon

  • Thread starter Thread starter P
  • Start date Start date
P

P

Hi.

I have a question regarding icons in deploying Compact Framework programs to
a Pocket PC.
In properties of the project there is an application icon property. Is this
the icon that will be displayed in the
file explorer on the Pocket PC after deployment. Are there size and color
restraints on this icon? 16*16 pixels or? 16 bit, 32 bit?
I was hoping someone could just straghten some questionmarks I have
regarding this. Also is it possible to use a gif file as an icon file
to preserve the transparency? Converting .gif to .ico with preserved
transparencey perhaps?

Anyone out there who has information please advice or pint me in the right
direction.

Best regards

<P>
 
Hi again.

I found a great answer to my previous question further down in this
newsgroup. However in response to this I have a question.
If you make 2 icons. One with 32*32 256 color and a 16*16 256 color, which
one of these should you specify in the project properties? And why have 2 if
only one of these can be selected?

Regards

<P>


<Create an Icon (.ico) file with at least a 32x32 256 Color icon and a 16x16
<256 Color icon for your app. You can do this using the editor built into
<Visual Studio or any third party icon editor. Then in your Visual Studio
<project open the project properties. In the Build page Application Icon
<property select the .ico file you created. Rebuild and deploy the
<application to the device. If you have previously deployed the application
<to the device with the default icon you may need to soft-reset to see the
<new icon because the icons are cached.

<In the default .INF file (your project folder\obj\Release or your project
<folder\obj\Debug) Visual Studio creates when you use Build Cab Files there
<will be a shortcut created in the Start Menu\Programs folder for your
<application. If you open the .inf file you will see this near the bottom
<(except with your application name of course)


<[Shortcuts]
<AccessViewer,0,AccessViewer.exe,%CE11%

<if you change the destination to %CE17% this will place the shortcut in
<\Windows\Start Menu (or localised equivalent). You can read about these
<%CE*% identifiers in the Visual Studio help under "Windows CE Directory
<Identifiers". Once you've changed this inf file you'll need to rebuild the
<CAB files by running the BuildCab.bat file in the same folder.

<Peter

<--
<Peter Foot
<Windows Embedded MVP
<OpenNETCF.org Senior Advisor
<www.inthehand.com | www.opennetcf.org
 
A single icon file can contain multiple images. Therefore if you want
multiple icons e.g. 16x16 and 32x32 they must be part of the same ico file
that is specified in your project properties. In the Icon editor you can use
Image > New Image Type... to add further images to the same icon package.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

P said:
Hi again.

I found a great answer to my previous question further down in this
newsgroup. However in response to this I have a question.
If you make 2 icons. One with 32*32 256 color and a 16*16 256 color, which
one of these should you specify in the project properties? And why have 2 if
only one of these can be selected?

Regards

<P>


<Create an Icon (.ico) file with at least a 32x32 256 Color icon and a 16x16
<256 Color icon for your app. You can do this using the editor built into
<Visual Studio or any third party icon editor. Then in your Visual Studio
<project open the project properties. In the Build page Application Icon
<property select the .ico file you created. Rebuild and deploy the
<application to the device. If you have previously deployed the application
<to the device with the default icon you may need to soft-reset to see the
<new icon because the icons are cached.

<In the default .INF file (your project folder\obj\Release or your project
<folder\obj\Debug) Visual Studio creates when you use Build Cab Files there
<will be a shortcut created in the Start Menu\Programs folder for your
<application. If you open the .inf file you will see this near the bottom
<(except with your application name of course)


<[Shortcuts]
<AccessViewer,0,AccessViewer.exe,%CE11%

<if you change the destination to %CE17% this will place the shortcut in
<\Windows\Start Menu (or localised equivalent). You can read about these
<%CE*% identifiers in the Visual Studio help under "Windows CE Directory
<Identifiers". Once you've changed this inf file you'll need to rebuild the
<CAB files by running the BuildCab.bat file in the same folder.

<Peter

<--
<Peter Foot
<Windows Embedded MVP
<OpenNETCF.org Senior Advisor
<www.inthehand.com | www.opennetcf.org


P said:
Hi.

I have a question regarding icons in deploying Compact Framework
programs
to
a Pocket PC.
In properties of the project there is an application icon property. Is this
the icon that will be displayed in the
file explorer on the Pocket PC after deployment. Are there size and color
restraints on this icon? 16*16 pixels or? 16 bit, 32 bit?
I was hoping someone could just straghten some questionmarks I have
regarding this. Also is it possible to use a gif file as an icon file
to preserve the transparency? Converting .gif to .ico with preserved
transparencey perhaps?

Anyone out there who has information please advice or pint me in the right
direction.

Best regards

<P>
 
You can user Axialis Cursor which is very easy to use, if you make 2 cursors
(24x24 - 256 colors and 16 x 16 - 256 colors) you'll enjoy pretty nice icons
either on the recent programs and the programs folder.

I hope this helps,

Isaias Formacio

Peter Foot said:
A single icon file can contain multiple images. Therefore if you want
multiple icons e.g. 16x16 and 32x32 they must be part of the same ico file
that is specified in your project properties. In the Icon editor you can use
Image > New Image Type... to add further images to the same icon package.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

P said:
Hi again.

I found a great answer to my previous question further down in this
newsgroup. However in response to this I have a question.
If you make 2 icons. One with 32*32 256 color and a 16*16 256 color, which
one of these should you specify in the project properties? And why have
2
if
only one of these can be selected?

Regards

<P>


<Create an Icon (.ico) file with at least a 32x32 256 Color icon and a 16x16
<256 Color icon for your app. You can do this using the editor built into
<Visual Studio or any third party icon editor. Then in your Visual Studio
<project open the project properties. In the Build page Application Icon
<property select the .ico file you created. Rebuild and deploy the
<application to the device. If you have previously deployed the application
<to the device with the default icon you may need to soft-reset to see the
<new icon because the icons are cached.

<In the default .INF file (your project folder\obj\Release or your project
<folder\obj\Debug) Visual Studio creates when you use Build Cab Files there
<will be a shortcut created in the Start Menu\Programs folder for your
<application. If you open the .inf file you will see this near the bottom
<(except with your application name of course)


<[Shortcuts]
<AccessViewer,0,AccessViewer.exe,%CE11%

<if you change the destination to %CE17% this will place the shortcut in
<\Windows\Start Menu (or localised equivalent). You can read about these
<%CE*% identifiers in the Visual Studio help under "Windows CE Directory
<Identifiers". Once you've changed this inf file you'll need to rebuild the
<CAB files by running the BuildCab.bat file in the same folder.

<Peter

<--
<Peter Foot
<Windows Embedded MVP
<OpenNETCF.org Senior Advisor
<www.inthehand.com | www.opennetcf.org


P said:
Hi.

I have a question regarding icons in deploying Compact Framework
programs
to
a Pocket PC.
In properties of the project there is an application icon property. Is this
the icon that will be displayed in the
file explorer on the Pocket PC after deployment. Are there size and color
restraints on this icon? 16*16 pixels or? 16 bit, 32 bit?
I was hoping someone could just straghten some questionmarks I have
regarding this. Also is it possible to use a gif file as an icon file
to preserve the transparency? Converting .gif to .ico with preserved
transparencey perhaps?

Anyone out there who has information please advice or pint me in the right
direction.

Best regards

<P>
 
Back
Top