Jim Lee wrote in message news:4adfa625$46593e00$2a54a@news.alaska-software.com...
>>>> How can I set icon, displaying at Windows explorer with my Alaska
>>>> application
>>>> EXE?
>
>oDlg:Icon := 1
>
>only Icon := 1 will show in Explorer
>
True. Ii was mentioned somewhere when I began developing in Xbase++. I still
follow it, and explorer shows the correct icon from Win95 to Win10.
Regards,
Anand
BTW It looks like we are going down in Win version !!

Jim,
>> How can I set icon, displaying at Windows explorer with my Alaska
>> application
>> EXE?
>
> oDlg:Icon := 1
>
> only Icon := 1 will show in Explorer
But if you look into your resource file, what is the number you assigned to
the application icon.
Peter

Fine! It works)
But, I have a little note...
After my correction of ARC-file and FULL re-building of my EXE, icon
has no changed!!
At the same time, copy of it, has ANOTHER NAME, showed with properly Icon.
After the resrart Windows (10) both files have properly icon.
P.S. I think, that Windows Explorer has some cache for fast drawing of
applicatopns icons (indexed by filename). Only if file name has not found in
this "cache", Windows really "extract" Icon from file resource.
>>
>> oDlg:Icon := 1
>>
>> only Icon := 1 will show in Explorer

Konstantin Lebedev wrote:
> P.S. I think, that Windows Explorer has some cache for fast drawing of
> applicatopns icons (indexed by filename). Only if file name has not found in
> this "cache", Windows really "extract" Icon from file resource.
You are absolutely right, the following web site gives a good overview how
to forcibly rebuild the icon cache:
https://neosmart.net/wiki/clear-icons-cache/
HTH
Thomas

It was my error in ARC-file:
There was undefined ICON-resource, decribed like ths:
..
ICON
ICON_BLUE = "BlueCircle.ico"
ICON_BLUE constant was not defined (have number 0 for Windows)...
and has the lowest number!
>>>
>>> oDlg:Icon := 1
>>>
>>> only Icon := 1 will show in Explorer