Paradox Community

Items in pnews.paradox-programming

Subject:Re: Viewing PDF's
Date:Thu, 21 Jun 2018 13:08:45 -0400
From:"Kevin Baker" <shcsbaker@gmail.com>
Newsgroups:pnews.paradox-programming
Hi Leslie,

Thanks for the input, I must admit I'm completely lost in most of the 
advanced stuff.  It's not a big deal, but was hoping it was something simple 
I could add to our application.  What we have in place now works, just isn't 
very pretty.

Thanks
Kevin


"Leslie"  wrote in message news:5b2b9a02$1@pnews.thedbcommunity.com...

Hi Kevin,

hopefully someone else can jump in regarding Paradox specifically, but
from a pure container perspective you could embed an iWebBrowser
interface and from Windows Vista onward you can embed an iFilePreview
interface within any Window (Paradox form or otherwise).

The only issue then becomes one of bitness - if the application (ie
paradox) is 32 bit then the PDF viewer must also be 32 bit. Same goes
for Word and excel containers. Even Windows suffers from this issue.

FWIW
Leslie.

On 19/06/2018 7:59 PM, Kevin Baker wrote:
> The "embedded" word in the original post is what got my attention.  I'm
> thinking there was a way to open & embed the PDF file on a Paradox form,
> not opening the external default program.
>
> "Kevin Baker"  wrote in message 
> news:5b23d4e0$1@pnews.thedbcommunity.com...
>
> Am I reading the below post correctly... "The pushbutton calls the form
> with
> the embedded PDF.  The viewer can then read, print or save the article to
> file"
> Is it possible to open a PDF File using a Paradox form?  If so How??
>
> Thanks
> Kevin
>
> "Craig"  wrote in message news:48cb86f0$1@pnews.thedbcommunity.com...
>
> In some software I developed which helps phsyicians write complex
> medication
> orders, there is the ability for the user to view pdf's of medical 
> articles
> as evidence for the alogrithms I developed.
> In the open method of a blank form I have the following code:
>
> folderviewer.navigate2(getAliasPath("Coags")+"/AntiThromboticTherapy.pdf")
> This works well. I have a button on the medication writing form Called
> "View
> Evidence".
> The pushbutton calls the form with the embedded PDF. The viewer can then
> read, print  or save the article to file.
> HOWEVER, when the form is closed, instead of coming back to the calling
> form, it goes to a non paradox window such as a webbrowser or any other
> running program which may be open. This will undoubtedly confuse the user.
> I call the form with:
> If not F.open(":Coags:AntiThromboticTherapyChestPDF.Fsl", WinstyleDefault,
> 0,0,15000,12000) then
> errorshow("Could not open the form.")
>   return
> ENDIF
> F.wait()
> F.close()
> Any suggestons?
> Thanks,
> Craig

---
This email has been checked for viruses by AVG.
https://www.avg.com 


Copyright © 2004 thedbcommunity.com