General TRichView support forum. Please post your questions here
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Mon Jan 14, 2008 11:30 pm
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)
Sergey Tkachenko
Site Admin
Posts: 17522 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Tue Jan 15, 2008 3:41 pm
Please send me compiled exe to richview at gmail dot com
(zipped with password protection, otherwise it will be rejected by gmail)
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Tue Jan 15, 2008 7:16 pm
Just tried to export into .docx and .doc in your standard Actiontestd2007 - same thing, unable to export.
Pieter Zijlstra
Posts: 42 Joined: Sat Oct 08, 2005 3:56 pm
Location: The Netherlands
Contact:
Post
by Pieter Zijlstra » Tue Jan 15, 2008 9:42 pm
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.
Sergey Tkachenko
Site Admin
Posts: 17522 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Wed Jan 16, 2008 6:02 pm
At least changing to jpg helps, not sure about changing to unknown extension.
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Wed Jan 16, 2008 6:58 pm
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.
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Thu Jan 17, 2008 1:09 am
The same thing with RVOfficeConverter.
This always returns false:
Code: Select all
RVOfficeConverter1.ExportRV(SaveDialog1.FileName,RichViewEdit1,1)
But export converters are available.
Sergey Tkachenko
Site Admin
Posts: 17522 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Thu Jan 17, 2008 9:41 am
What's the value of RVOfficeConverter1.ErrorCode after calling RVOfficeConverter1.ExportRV?
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Thu Jan 17, 2008 10:19 pm
RVOfficeConverter1.ErrorCode = -14
Sergey Tkachenko
Site Admin
Posts: 17522 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Fri Jan 18, 2008 5:34 pm
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.
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Sun Jan 20, 2008 7:31 am
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
Marsianin
Posts: 193 Joined: Sun Sep 25, 2005 11:03 pm
Post
by Marsianin » Fri Feb 29, 2008 8:30 pm
Hello!
Still NO export under Office 2007!
Sergey Tkachenko
Site Admin
Posts: 17522 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Sat Mar 01, 2008 1:07 pm
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.
Pieter E.
Posts: 835 Joined: Sun Aug 28, 2005 9:34 am
Post
by Pieter E. » Sun Mar 02, 2008 12:36 pm
Could OLE Automation be a temporary solution?