Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview and Imagelist using Icons embeded in .app
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00495438
Message ID:
00495575
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform