Solved

Richedit and Doc Files

Posted on 1999-01-29
3
522 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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