Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I am in Phoenix anyone else
Message
De
12/10/2005 01:43:45
 
 
À
11/10/2005 01:59:10
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
01057805
Message ID:
01058207
Vues:
23
Hi Dorin

Hey Absolutely great. It works.

Don't be surprised at my enthuiasm, but I have been seeking an answer for a while now and either I get nothing or the wrong one or someone telling me to load the file from disk at runtime.

So what I had assumed was right. The property is incompatiable with CHR(0) and the data is being terminated.

By converting to Base64 and back again the data is preserved. Now I no longer have to ship my BMP'S with my code.

Thanks a million for your clear but correct answer.

Bernard

>>
>>"You can use the PictureVal property of an Image object to hold the actual image data. This means you don’t have to refer to a disk file to display the image."
>>
>>How do you do that?
>>How do you hold image data in a PictureVal property so that you don't need to refer to a disk file at runtime?
>>
>
>A simple approach
>When in design mode...
>
>
_cliptext = STRCONV(FILETOSTR(GETFILE('bmp')),13)  &&encode to base64
>Then paste the string into PictureVal property
>In Init...
>
this.PictureVal = STRCONV(this.PictureVal,14)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform