Joined: 16 Nov 2006
Location: The Netherlands
|Posted: Thu Nov 16, 2006 1:38 pm Post subject: OLE link VFP 9 with Open Office
I have integrated MSOffice in my VFP application and this works perfectly. Now I like to integrate also the Open Office applications in my VFP application.
I have 3 questions
1) writer: I'm able to create a new document and add the text to the document. I'm looking now for the code to save an open writer doc from VFP9. The code to do this with Word is : loDocument.SaveAs('savethis')
2)writer: After manipulating and svaing the document I like to open the document again from Foxpro. The code I'm using for Word is:loWord.Documents.Open('savethis')
3) Calc: How can I start Calc from VFP and open an existing speadsheet in Open Office.
I have been looking now for some time on the web but unfortunately I was not able to find anything usefull. I really appreciate any help. Thanks in advance.