Solved

Richedit and Doc Files

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Filemaker 14 vs Delphi Embarcadero 7 186
IdTelnet1DataAvailable handler freezes the Application 4 64
Intraweb download file link ? 1 109
CheckListBox usage 3 50
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

19 Experts available now in Live!

Get 1:1 Help Now