How to save document as RTF format with .doc file extention?

General TRichView support forum. Please post your questions here
Post Reply
AHEJN
Posts: 6
Joined: Sun Nov 13, 2005 2:12 pm

How to save document as RTF format with .doc file extention?

Post by AHEJN »

A fool question but really puzzles me.
I want to save the document in RTF format, but filename must be *.doc, I see the Custom Filter property of saveas action, and set it to '*.doc|*.doc', afer run, when I select the filter and click 'SAVE' button, it raises a SAVE Failure error.
Please help me.
AHEJN
Posts: 6
Joined: Sun Nov 13, 2005 2:12 pm

Post by AHEJN »

BTW, SORRY FOR MY POOR ENGLISH.
AHEJN
Posts: 6
Joined: Sun Nov 13, 2005 2:12 pm

Post by AHEJN »

I forgot something in last post. Acctually, it's easy to code, but I use RVACTIONS, without idea about it.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RichViewActions does not allow to rename RTF file filter, so using CustomFilter is the only option (excluding renaming RTF file filter in ALL localizations).
An example of implementation of custom file format can be found in EXAMPLES.TXT, included in RichViewActions.
AHEJN
Posts: 6
Joined: Sun Nov 13, 2005 2:12 pm

Post by AHEJN »

BINGLE, THKS!
4 UR HELP & UR PERFECT WORKS
Post Reply