>
> I wish IconBuddy had Save2File method. But there is no such method
> in the version I downloaded. May be it was a later revision which you
> never published? I implemented other methods already, so now that important
> method is missing...
>
Again, just a copy from our pm. So we have it in the UT hmm.... Yes, great! You are absolutely right. No Idea what I thought about that. I have the Method in the help file. So either I intended to implement it or I did, it crashed and I had do remove it...... I think I was able employ a native VFP function for it ........... yes, I think the idea was to use the SavePicture(
, ) funktion that creates a bitmap. Either it did not work with the Icon-Object-Reference or I thought I could skip it in the class as it could be used directly.
It's half past one in the morning here and I am dead tiered. Could You please give it a try. I'll see if I can look into it tomorrow, OK?
... and then in the moring ...
Just tried it, and yes, it works. You can easily do:loIconSmall = .null.
loIconLarge = .null.
lcFile = "C:\...."
loIconBuddy.GetAssocIconPairObjects(lcFile, @loIconLarge, @loIconSmall)
lcX = sys(2015) +".ico"
= SavePicture("IconSmall"+ lcX, loIconSmall)
= SavePicture("IconLarge"+ lcX, loIconLarge)
whilst SavePicture is a VFP-function.
Whish You a wonderful day