*.docx files and TRichEdit5

Post Reply
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

*.docx files and TRichEdit5

Post by Natter »

Hi,

Is it possible to work with *.docx files in TRichEdit5 ?
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: *.docx files and TRichEdit5

Post by cnavarro »

You can't (as far as I've investigated)
But you can open the document with Word.Application and save it as .RTF, then open it in the RichEdt control.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: *.docx files and TRichEdit5

Post by Natter »

Thanks ! Does this mean I can't use VBA in RichEdit5?
For example: I highlighted some words/phrases in color. Then I need to extract these words/phrases from the RichEdit5 document. How can this be done ?
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: *.docx files and TRichEdit5

Post by Natter »

How to get text colored in a specific color from RichEdit5 ?
Post Reply