Sorry, I do not know what is going on, but....
DO you see anything different if you:
1. Pause for a few seconds before you call close? In the back of my
mind I am wondering if for some silly reason, control returns to you
before the save command finishes running.
2. out of curiousity, what value is in the isModified property?
3. I assume that you are calling terminate on the desktop object, is
4. Assuming you sleep a few seconds first, what happens if you call
dispose on the document rather than close? I do not even know if the
dispose method still exists, but, if it does. Note that you should not
in general use dispose, but, that is what existed before close() was
added to the API.
On 2018-08-31 13:00, dCipher wrote:
I have been automating Calc for years from Visual FoxPro. It has
flawlessly until this week. Now the document close method often
ole error 80010105. I was using verison 5.1 so I updated everything
latest 6.1 version but the problem persists. If I remove the Close()
and just use Terminate() I get the same result that 30%-50% of the
crashes. The spreadsheet is created correctly but Libre Office
the Close() method. Does anyone have any ideas what might be the
am running on Windows Server 2012 64bit. I am using the 32bit
If I try opening the document in Calc and makes some changes then use
"Close" from the File menu. I am prompted to save the document and
everything closes as expected. It only seems to occur when
laArgs(1).Value="MS Excel 97"
toBizObj.oMergeDoc.close(1) <== Produces and error 30% - 50% of the
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy