Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am producing a software product, the core of which is a msaccess mde.
On xp pro, the AppIcon property shows correctly the custom icon, both:
- on the top-left of the application window
- on the taskbar
On windows 7, the same property only shows the custom icon on the application window,
while the taskbar displays the msaccess icon.

Though googling extensively, I didn't find any literature about such a problem, and I am wasting a terrific amount of hours...
Does anyone have suggestions or a solution?
Thank you so much!
Posted

Icons come in many different sizes, ranging from 16x16 to 256x256, and color depths, including 8, 16, 24, and 32 bits. You can have multiple icons or various sizes and depths in the same .ICO file.

The problem seems to be that you don't have an icon of the appropriate size and/or color depth embedded in the .EXE.

As for how to fix that, I have no idea. I don't use Access unless there's a gun to my head.
 
Share this answer
 
Dave, thanks for your answer.
I agree with you about using Access. But my application grew up during more than 10 years on that environment, and it is now worth mayeb 10,000 hours of development... to remake it on web multiplatform technology would be great, but very expensive.
However everything was working pretty well on windows xp professional.
And it works fine on windows 7, except for some stupid details, like not showing my icon on the taskbar!!
Note that my icon is shown correctly on the top-left corner of the windows box, that means it is processed by the AppIcon property...
Now I don't understand if:
a) this is a bug of Microsoft, and will be fixed
b) it is a a new (decided) behaviour of Microsoft, and they provide a new property to manage the taskbar icon
c) if b), what is the new property? and will it work on Access 2003, or just on the later versions?
However, as to sizes and colors, I made a test using a standard icon provided by Microsoft, and the result is the same, thus I don't think this was the problem...
 
Share this answer
 
Comments
Member 10226438 22-Aug-13 20:05pm    
One of my Delphi programs has just developed the same problem, now showing the standard Delphi icon in the Windows 7 Taskbar and Start Menu, and when Extra Large Icon, Large Icon, Medium Icon and Tiles are selected in Windows Explorer. The correct program icon is displayed when Small Icons, List, Detail and Content is selected.

Clearly a Windows problem, not a program problem, but I have no idea how to fix it, so if there has been any advance since 2011, I would like to hear it.

Furthermore, I would like to say that the put-down comments about using Access posted by Dave Kreskowiak on 2-Apr-2011 are generally unhelpful in these forums. Us programmers often have to work with what we've got or have inherited, and unless the applications are the cause of the problem, they don't have to be mentioned. Let's have less of the clever? nerdy comments.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900