Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pictures in general fields
Message
 
 
À
16/09/2001 14:19:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00557063
Message ID:
00557173
Vues:
25
This message has been marked as the solution to the initial question of the thread.
Hi!

Hilmar is right, it is better do not use the General field to store images. Specialy if you plan to save picture from general field to disk - there is no easy way for that.

You see the icon in general field because there are no OLE Server application installed on that machine to view image file of that type as image, thus you see only icon. This appears to be the worst problem because such software should be installed on each client machine when each client want to see images.

It is good idea to store image file content in the VFP Memo field. To display it you can programmatically extract the content of memo field to temporary bitmap file on the disk and use that temporary file to display image. (take a look to STRTOFILE()/FileToStr() functions and Append memo command).

HTH.

>I have a general field in a table where I put a single picture, if i use the command 'append general' to insert the picture, i just see a small icon with the name of the file in the general field, and i see exactly the same if i use an oleboundcontrol in a form to show this picture.
>Which command should i use to let the users update this general field with an image file, using the getfile command ( or something similar ), and when i show the picture in the form, is exactly than the original.
>
>TIA
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform