Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting jpg pictures into tables
Message
 
 
To
08/02/2002 10:32:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00616407
Message ID:
00617532
Views:
38
I find that the users 'prefer' Clicking a button to see the picture referenced in the field - a since of power? - the app is not bogged down trying to refresh a picture on a form that way, and letting Explorer display the picture allows them a quick printing functionality to boot.

Ed

>Prakash,
>
>I'm with Hilmar...don't store your images in general fields. In your table, merely store the file name of the picture, in a memo field or a character field.
>
>Some disadvantages of images in general fields:
>
>-table bloat. With general fields, the file sizes of your tables will be *much* (multiples!) larger than the sum of the sizes of the individual .BMP or .JPG files.
>-You still need to keep the individual files on the hard drive, in case you need it to edit it or use it for other purposes. There is no straightforward opposite to APPEND GENERAL; extracting the images back out to a .JPG or .BMP can be a real pain
>-I think your .jpg file is not appearing because you need an OLE server registered on your machine to display the .jpg within a VFP form.
>
>See FAQ #7862 on how to print .jpg's on a report without using general fields.
>
>>thanks Sergey for your help ..i used Append General this time along with
>>getpict()..it did insert the jpg file in the table but doesnt show up in the form ..wht is see in the form is the icon of that particular file ...well wht i need is the content ...the usually way of inseting a picture in the dtabase is using the insert object form the main menu in the editor...is there any other way thru which i can insert pictures interactively during Form run mode??
Edgar L. Bolton, B.S. B.B.A.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform