For Programmers: Free Programming Magazines  


Home > Archive > Clarion > October 2006 > Embed .pdf or .doc or .html









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Embed .pdf or .doc or .html
iinformatyk

2006-10-12, 6:55 pm

Temat: Embed .pdf or .doc or .html

Hi,
I have a question. I have an a file with a text, like pdf, doc or html
(with images). I need to embed this file in my own app and display this
in my program. I have a clarion 6 PE. Could you help me in this giving
me advice how can I do it?

Regards
iinformatyk

klarisoft@gmail.com

2006-10-12, 6:55 pm

Hi,

For html and doc files you could try TX Text control
http://www.klarisoft.com/TXInfo.htm
for pdf files you could yse isedquickpdf
http://www.klarisoft.com/KSNews_160.htm
Convert pdf file to image and display.

--
Leonid Chudakov
chudakov@klarisoft.com
Cool tools and Clarion examples at
http://www.klarisoft.com


On Oct 11, 5:19 am, "iinformatyk" <iinforma...@wp.pl> wrote:
> Temat: Embed .pdf or .doc or .html
>
> Hi,
> I have a question. I have an a file with a text, like pdf, doc or html
> (with images). I need to embed this file in my own app and display this
> in my program. I have a clarion 6 PE. Could you help me in this giving
> me advice how can I do it?
>
> Regards
> iinformatyk


iinformatyk

2006-10-23, 7:55 am

No, I need something like this. An exe file (my own app) an I need to
display some text. I can display htlm file (when I have an .exe file
and index.html in folder), but I need to have only .exe file which
includ this index.html inside). How can I do it?

Regards

StillZero

2006-10-25, 11:30 pm

quote:
I can display htlm file ... but I need to have only .exe file which includ this index.html inside


You can include any files you want in in your project. You can use API's like FindResource, LoadResource, LockResource for loading needed resource from exe-file to the memory. Than, you can save this memory block to file with CreateFile, WriteFile API's.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com