Page 1 of 3
Always unable to export to MS Word
Posted: Mon Jan 14, 2008 11:30 pm
by Marsianin
When trying to export as MS Word file with RVActions I'm always getting error:
Code: Select all
Error saving file.
Possible reasons:
- out of disk space;
- disk is write protected;
- etc...
Using Delphi 2007 SP3, Vista Ultimate x64, Office 2007 SP1, RichView 1.9.48 (but compiled exe can't export on other systems too)
Posted: Tue Jan 15, 2008 3:41 pm
by Sergey Tkachenko
Please send me compiled exe to richview at gmail dot com
(zipped with password protection, otherwise it will be rejected by gmail)
Posted: Tue Jan 15, 2008 7:16 pm
by Marsianin
Just tried to export into .docx and .doc in your standard Actiontestd2007 - same thing, unable to export.
Posted: Tue Jan 15, 2008 9:42 pm
by Pieter Zijlstra
Sergey Tkachenko wrote:Please send me compiled exe to richview at gmail dot com
(zipped with password protection, otherwise it will be rejected by gmail)
Just for information:
The last time I checked this, it didn't work. The filenames inside a password protected zipfile are still visible and gmail rejects .exe files. To send exe files change the extension to something else (.xex for instance) and then zip it using a password.
Posted: Wed Jan 16, 2008 6:02 pm
by Sergey Tkachenko
At least changing to jpg helps, not sure about changing to unknown extension.
Posted: Wed Jan 16, 2008 6:58 pm
by Marsianin
What about export guys? It doesn't works. Even in RVActions demo.
But now I'm going to use TRVOfficeConverter directly. Will let you know results.
Posted: Thu Jan 17, 2008 1:09 am
by Marsianin
The same thing with RVOfficeConverter.
This always returns false:
Code: Select all
RVOfficeConverter1.ExportRV(SaveDialog1.FileName,RichViewEdit1,1)
But export converters are available.
Posted: Thu Jan 17, 2008 9:41 am
by Sergey Tkachenko
What's the value of RVOfficeConverter1.ErrorCode after calling RVOfficeConverter1.ExportRV?
Posted: Thu Jan 17, 2008 10:19 pm
by Marsianin
RVOfficeConverter1.ErrorCode = -14
Posted: Fri Jan 18, 2008 5:34 pm
by Sergey Tkachenko
According to documentation, this error means "wrong file type for this converter". I do not know how it is possible for export converters.
Does this error occurs on computers without Office 2007? Sorry, I do not have this version of Office to test.
Posted: Sun Jan 20, 2008 7:31 am
by Marsianin
I tried to install Office 2003 instead of 2007 and it works with 2003, but RVOfficeConverter gives me only one converter:
Word 97-2002 6.0/95 - RTF
with .doc extension
Works fine but exports to RTF with DOC extension.
I think you should get the Office 2007 and test it yourself.
You can download it (trial) directly from
Microsoft web site
Posted: Fri Feb 01, 2008 1:48 am
by Marsianin
Any suggestions?
Posted: Fri Feb 29, 2008 8:30 pm
by Marsianin
Hello!
Still NO export under Office 2007!
Posted: Sat Mar 01, 2008 1:07 pm
by Sergey Tkachenko
Unfortunately, I can confirm the problem with new export converters, but I cannot provide a solution at this time. They just fail, I do not know why.
Posted: Sun Mar 02, 2008 12:36 pm
by Pieter E.
Could OLE Automation be a temporary solution?