In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Error in TRichEdit:RTFToPDF

Xailer English public forum
Responder
julianocf
Mensajes: 15
Registrado: Jue Jun 02, 2011 9:26 pm

Error in TRichEdit:RTFToPDF

Mensaje por julianocf »

Hello Xailers,
I'm trying to use the TRichEdit method RTFtoHTML, but i am getting an error:
"Impossible to load the file: C:/Program files(x86)/Common Files/Microsoft Shared/textConv/html32.cnv"
Does anyone knows how to solve this error?
The project files are annexed.

Attached files rtf-1-0-0-0.zip (2.1 KB)Â
Saludos!
Juliano Canova
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Error in TRichEdit:RTFToPDF

Mensaje por jlalin »

Juliano,
try this way:
METHOD Button1Click( oSender ) CLASS TForm1
// Check HTML support first
IF ::oRichEdit1:lHTML
::oRichEdit1:HTMLToRTF("teste.html")
ENDIF
RETURN Nil
Regards,
José Lalí­n
Pedro Gil
Mensajes: 121
Registrado: Lun Ene 15, 2007 7:46 pm

Error in TRichEdit:RTFToPDF

Mensaje por Pedro Gil »

Juliano,
HTML32.CNV is a DLL installed by Microsoft Office. Which Office version do
you have install in your computer?
Regards,
"Juliano" escribió en el mensaje de noticias:4e4ec4fe$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello Xailers,
I'm trying to use the TRichEdit method RTFtoHTML, but i am
getting an error:
"Impossible to load the file: C:/Program files(x86)/Common
Files/Microsoft Shared/textConv/html32.cnv"
Does anyone knows how to solve this error?
The project files are annexed.
--
Saludos!
Juliano Canova
http://www.eMeAsOfT.com
http://emeasoft.blogspot.com/
http://twitter.com/emeasoft
julianocf
Mensajes: 15
Registrado: Jue Jun 02, 2011 9:26 pm

Error in TRichEdit:RTFToPDF

Mensaje por julianocf »

Thanks for the help José and Pedro,
I managed to solve the problem copying the HTML32.cnv from the office installation disc to the dir "C:/Program files(x86)/Common Files/Microsoft Shared/textConv/"
Saludos!
Juliano Canova
Responder