Theos PowerBasic Museum 2017

General Category => Meta Forum => Topic started by: Bernard Ertl on May 20, 2007, 02:28:07 AM

Title: Hello!
Post by: Bernard Ertl on May 20, 2007, 02:28:07 AM
Nice board you have here guys.  :)
Title: Re: Hello!
Post by: Chuck Hicks on May 20, 2007, 04:48:09 AM
Hey, Jose.  Nice of you to provide this board.

I haven't used PB much for a while, but still poke around in it when I need a Quick 'n Dirty app. 

Primarily program in Java these days.  I play around the iText PDF library for fun and relaxation, compiling it to native DLL/EXE with gcc.  Here's my site if anyone's interested:

http://www.esnips.com/web/PDFTools (http://www.esnips.com/web/PDFTools)
Title: Re: Hello!
Post by: José Roca on May 20, 2007, 05:29:56 AM
 
You are welcome, Bernard.

Nice to hear from you again, Chuck. We need an expert in PDF here.

Here you can find the translations of the headers and examples of the open source libharu library. Only a few functions that return an structure doesn't work. I have send an email to the author of the library requesting to add additional functions that allow to pass the structure by reference, but he has not replied.

I have solved the repainting problems that I had when hosting the Acrobat Reader using ATL.DLL. Now I host the WebBrowser control, either using ATL.DLL or my own OLE container written with PB, and load the PDF using the Navigate2 method. Then I retrieve a reference to the IHtmlDocument interface calling the Document property, and a reference to the IAcroAXDocShim interface calling the QueryInterface method. Once you get the reference to IAcroAXDocShim, you can call its methods and properties.

Using the same technique, I also have been able to host MSWORD and EXCEL. The WebBrowser control is an excellent container for these kind of documents.
Title: Re: Hello!
Post by: David J Walker on May 20, 2007, 09:13:05 PM
Yet another excuse to waste time playing on the Internet when I should be programming or something!

Thanks, Jose!
Title: Re: Hello!
Post by: Marco Pontello on May 21, 2007, 12:27:10 AM
Hi!

Thanks for providing this forum! :)

Bye!