Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird icon behavior for project
Message
From
10/03/2001 18:37:07
 
 
To
10/03/2001 12:27:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00483818
Message ID:
00483856
Views:
9
>Hello
>
>I'm associating icon with a project from the Project Information scren and somehow the Icon I need is not taking effect
>and the Fox head will show instead.
>In explorer, I check teh property of the exe and it show the right Icon not the Fox head.
>more weird, if I put shortcut on the desktop it will show the right icon on some computer and the Fox head on other.
>

You must include images for both 16x16 and 32x32 resolutions in the .ICO file - Windows will display both image sizes at different times (large icon vs small icon; in Explorer,switching the View menu choice between Large Icons and Small Icons will switch between the icons, and you can tell Windows which icon size to use through the Display control panel applet (on this machine, it's controlled by a checkbox labelled "Use Large Icons" on the "Effects" page tab.)

If your icon contains only one of the necessary images, Windows will use the VFP default icon (based on the default string registry value under the DefaultIcon subtree of the named file type entry within the hive HKEY_CLASSES_ROOT of the registry) when it needs to use the missing image.

Check the FAQ - there's an entry that covers the subject in detail written by George Tasker explaining the exact requirements.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform