Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Image in general field via program
Message
From
03/04/2007 16:28:26
 
 
To
03/04/2007 16:13:41
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01211786
Message ID:
01211795
Views:
10
>I have create a general field 'Mypicture' and have been able to insert and *.bmp file into it. However, I would like to insert the image via a program to allow the user to select from a dialog box and add the image themselves. So far, I have to open the general field and Edit->insert object- select "Create from file" and select the bitmap file to add.
>
>If there is a way to do this with a VFP command, it would be greatly appreciated.
>
>Thanks in advance,
>
>Craig

Rule #1: Never use a general field!!!
Rule #2: If you must use a general field, see rule #1
Rule #3: There are NO exceptions to these rules!

Store the images as separate files, and only store the file names in the table, with or without the path.

NB! Did I mention that you should never, never, NEVER use a general field?
Previous
Reply
Map
View

Click here to load this message in the networking platform