Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Few icons which crash ImageList
Message
 
To
20/06/2018 13:24:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01660782
Message ID:
01660784
Views:
214
Hi Dragan,

Are you sure so imagelist can use icon 32bpp (RGBA)?

MartinaJ

>On the project which I share with several others, and which is developed on several machines (I use at least three of them), we got a new set of icons to update the looks of it. Which is about the third or fourth time we did, no big deal.
>
>Except that this time I ran into a trouble. We have a good old treeview + imagList in the, well, most important part of the app. And about a dozen icons, among the 300+ that we may have around, are giving me an ole error 0x800a01e1: unknown COM status code, sometimes trapped sometimes "OLE error code 0x800a01e1: Unknown COM status code." (copied from the program error dialog).
>
>The difference between my homebox, where this happens, and the others is the version of runtimes. Now I tried reinstalling VFP, and even overwriting the dlls with those from other boxes, no dice. My VFP still returns "Visual FoxPro 09.00.0000.7423 for Windows"; the exe when run returns "Visual FoxPro 09.00.0000.5815 EXE Support Library for Windows" - it also gives the same error but for only one icon used by Carlos's status bar (but not always, depends on the user who logs into the app, though I don't notice anything different). On one other machine (where there's no problem), it's "Visual FoxPro 09.00.0000.5815 EXE Support Library for Windows" (i.e. same as my runtime), same in IDE.
>
>When I try to add tone of them into the listview in class editor, using its own property dialog, it says "ImageListCtrl
>---------------------------
>Invalid picture" (I removed some extra lines here).
>
>I've attached one of those (both as .ico and .zip, in case the first format is not accepted)(it isn't, so now I have twice the same zip here, sorry).
>
>I'm wondering whether the runtime version is really the cause here. Version of ImageList? Anything else?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform