Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing JPEGS into a general field
Message
From
21/12/1999 16:47:15
 
 
To
21/12/1999 13:43:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00306838
Message ID:
00306973
Views:
22
Hi Adam,

>Does anyone know how to store a JPEG file into a genearal field. Does anyone have a fix for this or a suggestion ?

If the General field doesn't pan out, an alternitive is to save the file in the memo field, you can use FileToStr() to get it in there, then StrToFile() to get it out and create a temp file, then put it back in.

Another thing you could do (if you store these just for security reasons), is to change the file extension (just an easy dupe for users) and then mess with the file at low level so they can't be read. Then when you want to open them, save the file back via lowlevel.

I don't know how well this works with JPGs (I don't know it shouldn't), but I've heard folks doing this with DBF files.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform