>
> May be SavePicture is not sophisticated enough. I guess there is
> API analogue, that could be better. Here is my current code,
> the ico files it produces don't look like icons:...
>
Your code is beautiful. Should work here in Germany and if so, it should work all over the world. I think You don't need the transformation of the TMP-Path to long path
SavePicture(loIcon, addBS(sys(2023)) +"XY.ICO") works nicely for me.
What Windows are You working on and VFP?