The MASM Forum

Miscellaneous => Miscellaneous Projects => Windows Projects => Topic started by: TouEnMasm on July 08, 2013, 04:42:26 PM

Title: Converters of various formats based on text (doc,html,rtf .....)
Post by: TouEnMasm on July 08, 2013, 04:42:26 PM
in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Text Converters"
There is various converters (dll) who can be used by any programs.

The conversion is made in two steps:
IMPORT all formats as rtf  files
EXPORT rtf in all formats.

You can find various converters in your computer,This depend of what is installed in your computer (office .....).
 
Here is an executable who allow you to use all of them.

The Imported file in rtf is named test.rtf and is located in the same directory as the execute
Export file will be named testeur with extension needed by the converter.
                                    Same directory as the execute
If one converter failed to initialise,choose another.

Begin by the menu files.Choose an export or import file,then convert menu, choose an export or import converter.

compiled with JWasm min v2.11rc5, Aug  4 2013

The richedit use the msfedit.dll and is a good converter by copy paste.Images can be added by another copy paste of the image.
Title: Re: Converters of various formats based on text (doc,html,rtf .....)
Post by: Magnum on July 09, 2013, 09:54:04 AM
That's pretty clever.

What is the Recover option. Recover Text from Any File

Andy
Title: Re: Converters of various formats based on text (doc,html,rtf .....)
Post by: TouEnMasm on July 09, 2013, 02:53:00 PM

To recover the text from any file,begin by import it as an RTF file.
Load the " test.rtf" file created and now save it as a "anyname.txt".
If you give an rtf extension here,you have a new rtf file.
If you give a NOT rtf extension (txt,....) you got a text file.