Solved

Richedit and Doc Files

Posted on 1999-01-29
3
523 Views
Last Modified: 2013-11-22
How can I open a MS Word Doc file in a richedit box.
I can do this with *.txt and *.rtf but not *.doc.
0
Comment
Question by:frw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 1363851
Hi FRW,

Indeed, if you want to open a .doc file you have to read in the format of a .doc file. I don't think this is what you want or if you're up to the task look into the DOP(Document Properties) and FIB(File Information Block) structures MS provide at their site.

RTF is a specific format as is TXT these are both supported by the RichEdit control and Word.
So that leaves you with those formats left to open a Word
document in a standard RichEdit control.
Don't know yet about the RichEdit20.ocx provided with IE4.01 etc. maybe there's a opening?
But why should MS do that, cannibalize their own money making scheme (sorry....).

Good lucK.
:O)
0
 
LVL 7

Accepted Solution

by:
BlackMan earned 100 total points
ID: 1363852
Surf to this website: http://paul.balpol.tudelft.nl/delphi/converters

There's a Delphi component that encapsulate the Word converters, so that you can read a DOC file and convert it to RFT for the RichEdit control.

This site is very unstable, if you can't get trhu, give me your e-mail addr. and I'll e-mail it to you..
0
 
LVL 7

Expert Comment

by:BlackMan
ID: 1363853
I just found the archive here too: http://sunsite.icm.edu.pl/delphi/ftp/d30free/msconv.zip
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question