Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append General .JPG error
Message
From
12/08/2006 00:47:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01144838
Message ID:
01145025
Views:
31
>Recently I tried to append a .jpg file to a general field with
>APPEND GENERAL Photo From Temp.jpg
>and got an error:
>"OLE error code 0x80070002. The system cannot find the file specified"
>I used to be able to append .jpg files before but not now - just .bmp files.
>The file is in current directory - no problem with file location.
>Any idea what has changed?

Your system default .JPG handler may have changed. Check by double-clicking on a .JPG in Windows Explorer.

Because of OLE issues like this, and .FPT bloat storing photos in this fashion (actually, storing anything in GENERAL fields) is no longer recommended. For photos, keep the .JPG separate and just store a file name in a table.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform