Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File association icons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00728027
Message ID:
01045896
Vues:
36
>>
>> 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?

I take it back. I just checked the folder again and the icons do look like icons. I guess, they are just not shown fine in the grid. Let me remove Fn2Lfn part from the code. BTW, it's not my code, it's yours <g> I'm just a mere mortal <g>

And, finally, the files are supposed to be deleted in the object's Destroy, but they are all here. Something is not right... Ok, let me spend few more minutes... UPDATE. Ok, found a typo in that method. I just cut and pasted your code instead of doing it with a little bit of testing. This reminds me one well-known guy here <g>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform