Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attaching Icons
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00094349
Message ID:
00095271
Views:
23
>>>>>When I attached an icon to my exe it did not work. It shows the icon in the little window to show that the attachment should work. When I make a shortcut on my desktop it is still the vfp fox. Any suggestions?
>>>>
>>>>Matthew,
>>>>
>>>>You have to include both a 32x32 and 16x16 icon in the exe. There's an araticle in the FAQ section (Project Manager) here at the UT, that gives the step by step instructions on how to do it.
>>>>
>>>>hth,
>>>
>>>Hi George,
>>>
>>>Does this method also work when creating a shortcut? My EXE shows my icon in the Windows Explorer with no problem, but when I try to create a short-cut, the Fox icon is initially displayed. I have to click the change icon button and pick my ICO file. If not, is there anything that can be done about this?
>>>
>>>TIA,
>>>
>>>James
>>
>>In my experience it always has used the icon embedded in the file. This even goes back to FPW 2.6.
>
>
>I have a 16x16 and a 32x32 icon imbedded in my EXE. It is strange to see the EXE display with the proper icon in Windows Explorer and be the Fox icon when creating a shortcut. Maybe this is a VFP bug or maybe I am missing something?!

It sounds like you have 2 files a 32x32 and a 16x16.
You Need (1) .ICO file with both a 32x32 image and a 16x16 image.
Check out the Samples\Graphics\Icons directory, I checked several in there and they all had both images.

Jerimi
Previous
Reply
Map
View

Click here to load this message in the networking platform