Always unable to export to MS Word

General TRichView support forum. Please post your questions here
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Always unable to export to MS Word

Post 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)
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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)
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

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 »

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: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

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 »

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 »

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: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

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 »

RVOfficeConverter1.ErrorCode = -14
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post 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 :shock:
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 »

Any suggestions?
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

Hello!
Still NO export under Office 2007!
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Pieter E.
Posts: 834
Joined: Sun Aug 28, 2005 9:34 am

Post by Pieter E. »

Could OLE Automation be a temporary solution?
Post Reply