Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview and Imagelist using Icons embeded in .app
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00495438
Message ID:
00495575
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>Hello people.
>
>Just wanted to know if this is a known bug in VFP 6.
>
>When I have a imagelist load icons embed in the app, It gives me a ole error at runtime. but when i exclude the icons from the app, it seems to run very nicely.
>
>Is there a valid explanation for this ?
>I wanted to put the icons in the app.
>
>thanx in advance ...

You could embed the pictures and use FileToStr()/StrToFile() to export them out of the app just before you load them into the ImageList and then delete them. As George said, this would add some I/O, but you may be able to live with it.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform