Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I change _screen icon property.
Message
 
To
06/09/2006 11:24:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01151311
Message ID:
01151368
Views:
56
I can see that icon as a thumpnail in windows explorer. But I want to open with windows picture & fax viewer, "no preview avaible" message appears.

I think, icon maker editor have a problem.

AA







>Can you view that icon outside of VFP? Maybe it is invalid? Or maybe it is in some other format that VFP can't interpret. I don't know if there are different .ICO formats.
>
>>Thanks Frank
>>
>>Screen don't accept some icons as you say. Do all of icon files have same format
>>
>>AA
>>
>>
>>
>>
>>>If you use the image picker in the command window and select that icon, does it work? If you select a different icon does that one work?
>>>
>>>>Hi Frank
>>>>
>>>>Ico file exist and I have used fullpath.
>>>>
>>>>Despite I have executed following code on command window directly, screen icon hasn't been changed
>>>>
>>>>
>>>>_screen.Icon = "c:\my_project\bmps\company.ico"
>>>>
>>>>
>>>>
>>>>
>>>>>Hi Ali,
>>>>>
>>>>>Once the file exists and is either in your path or you have specified the full path in your file name then that should work.
>>>>>
>>>>>>How can I change _screen icon property.
>>>>>>Following command has no effect on screen icon property
>>>>>>
>>>>>>
>>>>>>_screen.Icon = myIconFile  && this command has no effect on screen icon property
>>>>>>
>>>>>>
>>>>>>thanks in advance
>>>>>>
>>>>>>AA
Previous
Reply
Map
View

Click here to load this message in the networking platform