Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there an external VFP wrapper??
Message
 
À
21/01/2002 10:09:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00607741
Message ID:
00607767
Vues:
32
>When VFP saves a general field, does it include a wrapper or some class information along with the object???
>
>The problem we have is that my colleague is using a general field to get various different types of files (could be excel, could be pdf etc) into our oracle database. Fine so far. But now I am using ADO (+VFP or VB) to get the data back out again. I've had loads of problems getting either language to recognise the format of the data, so I saved the blob as a file. Even this didn't work, but when I looked closely at the start of each file in a text editor there was the fragment Visual FoxPro[Class] e.g. Visual FoxProExcel.Sheet.8.
>
>If VFP is putting a class wrapper around the document then that automatically makes the data proprietory to VFP, which kills my work stone dead.
>
>I've tried saving this data back into a general field and basing my OLE bound control on that but it doesn't really want to know....it doesn't crash but it doesn't work either...it just sits there in limbo sucking up memory.
>
>Thanks in advance..
>
Pablo,

It sounds like the file is being embedded in the general field rather than simply linked. MSKB#Q161832 deals with extracting a bitmap from a general field. While it doesn't give you information on Excel, it does explain some of this and might give you a good starting point.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform