Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting General field to BMP
Message
 
 
To
05/11/2002 16:27:19
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00718764
Message ID:
00719165
Views:
15
Paul,

I feared you might have hundreds to thousands of these to do. A few ideas to explore

1) automate the File/SaveAs by keyboarding or maybe using the WSH.SendKeys() the right keystrokes

2) I'm pretty sure the general field memo is composed of the actual image file plus some stuff that may occur before and/or after the actual image content. You can use hexedit() to spelunk around in the memo file to find the image content and push it out to it's own file. You should be able to find some pattern that would make the image data "findable"

3) create a form with an OLE bound control tied to the general field, and use George Tasker's Obj2BMP tool to push it out to a file.

>Thanks for your reply. This might work in some cases but, I am trying to automate the procedure to pull thousands of images form a client's table.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform