FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour *.docx files and TRichEdit5
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
*.docx files and TRichEdit5
Posted: Fri Jun 30, 2023 07:06 PM

Hi,

Is it possible to work with *.docx files in TRichEdit5 ?

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: *.docx files and TRichEdit5
Posted: Sat Jul 01, 2023 03: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
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: *.docx files and TRichEdit5
Posted: 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 ?

Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: *.docx files and TRichEdit5
Posted: Sun Jul 02, 2023 02:14 PM

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

Continue the discussion