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
>>>>>
>>>>>
>>>>>thanks in advance
>>>>>
>>>>>AA