Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append General .JPG error
Message
De
12/08/2006 00:47:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Divers
Thread ID:
01144838
Message ID:
01145025
Vues:
30
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform