Solved

Richedit and Doc Files

Posted on 1999-01-29
3
514 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
  • 2
3 Comments
 
LVL 44

Expert Comment

by:bruintje
Comment Utility
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
Comment Utility
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
Comment Utility
I just found the archive here too: http://sunsite.icm.edu.pl/delphi/ftp/d30free/msconv.zip
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now