Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole SaveAs works but not terrible
Message
From
10/12/2009 23:44:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Ole SaveAs works but not terrible
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01438540
Message ID:
01438540
Views:
95
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
Next
Reply
Map
View

Click here to load this message in the networking platform