Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read an image from a GENERAL field
Message
From
11/12/2006 05:36:01
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
11/12/2006 05:22:01
Prashant Dongare
Micropro Software Solutions
Nagpur, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01176470
Message ID:
01176472
Views:
15
High,

What do you like to do with your generl field?
Read the data back to disc or display it on a form?

If you like to display it then you neet an OLEBOUNDCONTROL. Set the controlsource to your general field.
(Important: The general field stores OLE data. That is VFP calls the programm bound to the filetype and this provides the data stored in the gernal field and information about itself. If you like to display your GENERAL on an second comp you need to have the [display-]programm on this as well.)

Bound to the way the data is stored there is no simple way to "resotere" the file that is stored inside a general field.


Agnes
>Hey,
>I want to store the snaps(in JPEG Format) of employee to the database.
>I use a picture control to show this image on the form.
>While saving the snaps I can directly save it to the database using...
>
>APPEND GENERAL em_photo FROM z:\data\images\ku0001.jpg
>
>But while retriving the same, I am not able to do the same.
>Please suggest me a way out.
>Thanks in advance.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform