R
Richard Lewis Haggard
Can anyone tell me why an application's icon would not show?
The test pocket pc is an old ipaq 36xx running 2002. I've built an
application in C#.NET and deployed it to the application via the visual
studio debug deployed. Once on the target test device, the icon I see from
file explorer and on the top caption bar is not the one I specified in the
build. Instead, its that right cornered folded down thing with smaller
squares inside.
In the solution properties, I've specified the icon file. That didn't seem
to make any difference so I changed the build action to embedded for the
icon file and did the stuff necessary to load an embedded resource.
using System.Reflection;
In the main form's load, I've added
this.Icon = new System.Drawing.Icon(
Assembly.GetExecutingAssembly().GetManifestResourceStream("Pocket_Spider.Spi
der.icon") );
Oddly, I'm still getting the wrong icon. I read that the icons are cached
and that you have to soft reset the machine to get new icons. Pushed the
soft reset button. No change.
Obviously, I'm doing something wrong since it can't be this hard to get an
application icon working right. I would be ever so grateful if someone could
point me in the right direction.
==========
Richard Lewis Haggard
The test pocket pc is an old ipaq 36xx running 2002. I've built an
application in C#.NET and deployed it to the application via the visual
studio debug deployed. Once on the target test device, the icon I see from
file explorer and on the top caption bar is not the one I specified in the
build. Instead, its that right cornered folded down thing with smaller
squares inside.
In the solution properties, I've specified the icon file. That didn't seem
to make any difference so I changed the build action to embedded for the
icon file and did the stuff necessary to load an embedded resource.
using System.Reflection;
In the main form's load, I've added
this.Icon = new System.Drawing.Icon(
Assembly.GetExecutingAssembly().GetManifestResourceStream("Pocket_Spider.Spi
der.icon") );
Oddly, I'm still getting the wrong icon. I read that the icons are cached
and that you have to soft reset the machine to get new icons. Pushed the
soft reset button. No change.
Obviously, I'm doing something wrong since it can't be this hard to get an
application icon working right. I would be ever so grateful if someone could
point me in the right direction.
==========
Richard Lewis Haggard