that MIGHT even work for WIndows, assuming there is a default PDF reader installed (this is not an issue with OSX, because there IS a default PDF reader installed there)
[quote=182840:@Markus Winter]Sigh. He clearly wants to open the pdf inside his app.
@Guido: there is no “internal” pdf reader in Xojo, what they refer to is the pdf reader installed on your system. That’s what the f.launch will do.[/quote]
So for you DynaPDF is an external method ?
Under Windows, HTML Viewer is not able to open PDF. What he got from Internet Explorer with f.launch will happen as well from PDF Viewer if he has not installed Acrobat Reader.
In Mac, a PDF can be put into a picture and displayed into a canvas with Picture.Open(folderitem), or displayed in the HTMLViewer. That is pretty internal to me.
Wow… I guess we all read a different question… I see no place where he has a requirement of “internal”
He even specified what he tried to do, and that the result was no PDF reader (ie. Acrobat or the like) installed
and asked how to use a FILE into his project and read it there…
“it” refers to the last referred objective noun, which in this case would be “the pdf file”
This would still require a PDF reader, but it doesn’t need to be DynaPDF, unless he wishes to open it in a XOJO controlled window, which is not what I got that he required.
His reference to “internal viewer” was in regard to the error message, not his requirement
Assuming you want only to display, and do so within your program not in an external reader, here is a quick-and-dirty example that requires you to have Acrobat Reader installed - just drop a pdf on the window