Wen Yuan,
Sorry - I got pulled off onto some other work. I appreciate your following
up. Still no luck. Here's what I've found.
First, the problem is hard to track because VS seems to be caching some
stuff and it doesn't notice the change to an icon file, so when I did a new
test, I got no change. I went back and deleted all the build products,
rebuilt and then got different behaviour (without having changed any of the
source files).
Second, I'm not sure what you mean by not being able to create 16x16 icons
in VS2005. When you are editing an icon, a right click brings up a menu with
two relevant entries "New Icon Image Type" and "Current Icon Image Types".
Clicking on the first lets you select from a range of dimensions and color
depths. Clicking on the second shows the ones you currently have in the file.
Why they simply didn't show all the existing ones in the left pane is beyond
me.
In any case, I went and checked that the two forms I was using had identical
property sheets. Note that in both cases, the Icon property was empty.
Selecting an icon here seems to make no difference.
I have selected the proper icon and specified it on each of the project
property sheets.
In my shortcuts, I also selected the related icon files.
I then build and install the package that contains all my EXEs.
On the start menu, all entries show their (small) icons.
When I drag any of the exe's from the install directory to the desktop and
select "create shortcut" they all are rendered with their large icons.
So it looks like I do in fact have both sizes in the file.
When I run one of the tasks, it does not show any icon in the top left
corner of its title bar. It shows up as the default empty blue and white form
icon on the task switcher. However, on the task bar, it shows its proper icon.
When I run the other task, it shows the standard red, blue, and yellow icon
in the left end of its title bar and also on the task bar and the task
switcher.
Hope all this means something to you - it doesn't to me. I can send you some
screen shots if that will help.
Thx
Marc
WenYuan Wang [MSFT] - 29 Aug 2007 14:05 GMT
Hello Marc,
Thanks for your reply.
> I'm not sure what you mean by not being able to create 16x16 icons in
VS2005.
I'm sorry, I misunderstood this before. I always use 3rd party tool to edit
icon. Thanks for your information.
>When I run one of the tasks, it does not show any icon in the top left
corner of its title bar. It shows up as the default empty blue and white
form icon on the task switcher. However, on the task bar, it shows its
proper icon.
Would you please send me a screen shot and Icon file which you used in this
task?
In order to narrow down the issue, I will use this Icon file to reproduce
the issue on my side. The screen shot will also help on analysis very much.
My alias is v-wywang@microsoft.com. thanks.
I'm looking forward to your reply. Have a great day.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.