Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole SaveAs works but not terrible
Message
De
10/12/2009 23:44:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Ole SaveAs works but not terrible
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01438540
Message ID:
01438540
Vues:
94
I am using the SaveAs propery of an Ole object property to save the content of a general field into a file. For Word documents, this works. I obtain a .doc file on disk but when I look at it in Word, the view is corrupted. I can however see most of it but it is badly generated. For Excel documents, this works as well. But, when I open my xls file, I have an empty window in Excel. As for PDF, the SaveAs is not availabe. So, I have the following questions:

1. Is it the best we can do for Word content in a general field?
2. Is there a way to have it work for Excel file?
3. How can we save a general field content of a type PDF?

Or, is there a better way to achieve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform