Hello!
My english is very bad. I'm very sorry.
I have a file with extention "odt" (OpenOffice).
I want to open with VisualFoxPro 9.0 and I don't know how.
Can you help me with an example.
Thank you very much!
You can't open an ODT file in Visual Foxpro. An ODT file is a word processor document, just like those produced by Microsoft Word. In fact, you can open the file in Word, and then save it in another format, including Word's DOCX. But even then, you won't be able to do anything useful with it in Foxpro.
Perhaps you could explain why you want to open the ODT in VFP? What information do you hope to extract from it?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
It's an existing file and I want to print this file from my program. I use automation to create an file with extention "odt". But sometimes it is necessary to open an existing file with "odt" extention. I hope you undestand me.
Thank you!
No, you can't expect VFP to open a binary word processor file and print it, you rather make that a job for Windows.
Shellexecute with action "print" would print any file the way the standard application the OS knowss associated with the file extension does.
The other point If you automaate Open Office, then there should not only be a way to create and save, but also print files via that automation. If you don't know, Intellisense in the command window could tell you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.