Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Storing' Files in DBF files
Message
De
26/09/2011 11:37:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01524682
Message ID:
01524735
Vues:
63
>>Hi All:
>>
>>My client wants to associate JPG, XLS and DOC files with his customer database. I was thinking of storing the name in a field and then invoking the right program via office automation when he requests it. Any references that anyone can point me to in helping me with this project?
>>
>>As far as I know, a GENERAL field only handles pictures. Is this right?
>>
>>Thanks,
>>
>>Yossi
>
>You can store blob data in the database (memo (binary)), but the recommended method is to store FileName (if you don't need to store path) and then you can use ShellExecute with default open action to open the file.

Naomi:

Could you give me an example of a SHELLEXECUTE command with, say, the following file name:

c:\bob\documents\DocA.doc
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform