*.docx files and TRichEdit5

*.docx files and TRichEdit5

Postby Natter » Fri Jun 30, 2023 7:06 pm

Hi,

Is it possible to work with *.docx files in TRichEdit5 ?
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am

Re: *.docx files and TRichEdit5

Postby cnavarro » Sat Jul 01, 2023 3:50 am

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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: *.docx files and TRichEdit5

Postby Natter » Sat Jul 01, 2023 12:19 pm

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: 1224
Joined: Mon May 14, 2007 9:49 am

Re: *.docx files and TRichEdit5

Postby Natter » Sun Jul 02, 2023 2:14 pm

How to get text colored in a specific color from RichEdit5 ?
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 28 guests