Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11127 > unrolled thread

Easy way to open PDF file?

Started byClifford Järnry <clifford.jarnry@gmail.com>
First post2017-11-07 02:18 -0800
Last post2017-11-11 08:22 -0800
Articles 9 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Easy way to open PDF file? Clifford Järnry <clifford.jarnry@gmail.com> - 2017-11-07 02:18 -0800
    Re: Easy way to open PDF file? Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2017-11-07 14:32 +0100
    Re: Easy way to open PDF file? ccyasa.sbassano@gmail.com - 2017-11-07 05:50 -0800
    Re: Easy way to open PDF file? ccyasa.sbassano@gmail.com - 2017-11-07 05:59 -0800
      Re: Easy way to open PDF file? Clifford Järnry <clifford.jarnry@gmail.com> - 2017-11-08 02:06 -0800
      Re: Easy way to open PDF file? "Karl-Heinz" <invalid@invalid.invalid> - 2017-11-08 18:56 +0100
        Re: Easy way to open PDF file? thaychua00@gmail.com - 2017-11-08 16:31 -0800
          Re: Easy way to open PDF file? "Karl-Heinz" <invalid@invalid.invalid> - 2017-11-09 09:23 +0100
            Re: Easy way to open PDF file? thaychua00@gmail.com - 2017-11-11 08:22 -0800

#11127 — Easy way to open PDF file?

FromClifford Järnry <clifford.jarnry@gmail.com>
Date2017-11-07 02:18 -0800
SubjectEasy way to open PDF file?
Message-ID<f43c17fe-9e81-4198-a045-4755b3f34f55@googlegroups.com>
Hello everybody.

Is there an easy way to open a PDF file from a VO2.8 application.

For word documents I used:

LOCAL oWord AS OBJECT

oWord := OLEAutoObject{"word.application"}
oWord:Visible := TRUE
oWord:Documents:Open(cExePath+"DocumentName.docx")

Is there anything similar or how do I do it?    

Thank's in advance.

Clifford

[toc] | [next] | [standalone]


#11128

FromKarl Faller <mail_withoutthat_@_drei-f_andthat_.de>
Date2017-11-07 14:32 +0100
Message-ID<6ed30d1407h8nj1hdepf3t1rdj02tdjstm@4ax.com>
In reply to#11127
Clifford,
what viewer do you want to use?

Karl

>Hello everybody.
>
>Is there an easy way to open a PDF file from a VO2.8 application.
>
>For word documents I used:
>
>LOCAL oWord AS OBJECT
>
>oWord := OLEAutoObject{"word.application"}
>oWord:Visible := TRUE
>oWord:Documents:Open(cExePath+"DocumentName.docx")
>
>Is there anything similar or how do I do it?    
>
>Thank's in advance.
>
>Clifford
Regards

Karl

[toc] | [prev] | [next] | [standalone]


#11129

Fromccyasa.sbassano@gmail.com
Date2017-11-07 05:50 -0800
Message-ID<9ce03e9c-74c5-4c72-a400-b464cde31700@googlegroups.com>
In reply to#11127
El martes, 7 de noviembre de 2017, 7:18:44 (UTC-3), Clifford Järnry escribió:
> Hello everybody.
> 
> Is there an easy way to open a PDF file from a VO2.8 application.
> 
> For word documents I used:
> 
> LOCAL oWord AS OBJECT
> 
> oWord := OLEAutoObject{"word.application"}
> oWord:Visible := TRUE
> oWord:Documents:Open(cExePath+"DocumentName.docx")
> 
> Is there anything similar or how do I do it?    
> 
> Thank's in advance.
> 
> Clifford

If i'm not wrong, with this code

ShellExecute(NULL_PTR, String2Psz("Open"), String2Psz(cPdfPath), NULL_PSZ, NULL_PSZ, SW_SHOWNORMAL)

the PDF file will open with the predefined PDF viewer.
Regards.

[toc] | [prev] | [next] | [standalone]


#11130

Fromccyasa.sbassano@gmail.com
Date2017-11-07 05:59 -0800
Message-ID<4197eb2c-24f3-499c-a6cc-2efb9ca81741@googlegroups.com>
In reply to#11127
El martes, 7 de noviembre de 2017, 7:18:44 (UTC-3), Clifford Järnry escribió:
> Hello everybody.
> 
> Is there an easy way to open a PDF file from a VO2.8 application.
> 
> For word documents I used:
> 
> LOCAL oWord AS OBJECT
> 
> oWord := OLEAutoObject{"word.application"}
> oWord:Visible := TRUE
> oWord:Documents:Open(cExePath+"DocumentName.docx")
> 
> Is there anything similar or how do I do it?    
> 
> Thank's in advance.
> 
> Clifford

If i'm not wrong, for view with this code:

ShellExecute(NULL_PTR, String2Psz("Open"), String2Psz(cPdfPath), NULL_PSZ, NULL_PSZ, SW_SHOWNORMAL)

the PDF file will open with the predefined PDF viewer.
If you want to edit, there are different options, one of them is http://www.debenu.com/products/development/debenu-pdf-library-lite/. I think that there is a free version.
Regards.

[toc] | [prev] | [next] | [standalone]


#11135

FromClifford Järnry <clifford.jarnry@gmail.com>
Date2017-11-08 02:06 -0800
Message-ID<04f74b24-8082-449e-9a75-1a2bce58dd26@googlegroups.com>
In reply to#11130
Den tisdag 7 november 2017 kl. 14:59:52 UTC+1 skrev ccyasa....@gmail.com:
> El martes, 7 de noviembre de 2017, 7:18:44 (UTC-3), Clifford Järnry escribió:
> > Hello everybody.
> > 
> > Is there an easy way to open a PDF file from a VO2.8 application.
> > 
> > For word documents I used:
> > 
> > LOCAL oWord AS OBJECT
> > 
> > oWord := OLEAutoObject{"word.application"}
> > oWord:Visible := TRUE
> > oWord:Documents:Open(cExePath+"DocumentName.docx")
> > 
> > Is there anything similar or how do I do it?    
> > 
> > Thank's in advance.
> > 
> > Clifford
> 
> If i'm not wrong, for view with this code:
> 
> ShellExecute(NULL_PTR, String2Psz("Open"), String2Psz(cPdfPath), NULL_PSZ, NULL_PSZ, SW_SHOWNORMAL)
> 
> the PDF file will open with the predefined PDF viewer.
> If you want to edit, there are different options, one of them is http://www.debenu.com/products/development/debenu-pdf-library-lite/. I think that there is a free version.
> Regards.

Thank You!

It worked fine!

Best regards

Clifford

[toc] | [prev] | [next] | [standalone]


#11137

From"Karl-Heinz" <invalid@invalid.invalid>
Date2017-11-08 18:56 +0100
Message-ID<f6gussFrv1kU1@mid.individual.net>
In reply to#11130
Hi Sebastian,

>
> http://www.debenu.com/products/development/debenu-pdf-library-lite/
>

formerly known as "isedquickpdf" and currently available for 1500 USD ...
these guys are crazy !

2004 i was in touch with the inventor of this  great PDF library (Kevin
Newman from Sedtech  )  and convinced him to create not a Active-X and
Delphi component only, but a plain DLL  too. He even understood quickly how
to automate a VO-DLL interface creation, including all that crazy
_PopI87Real8() stuff ;-)

In 2009 Debenu aquired isedQuickpdf and i updated the last time IIRC for 150
USD to Version 7.0 ... end of story  ;-)

regards
Karl-Heinz 

[toc] | [prev] | [next] | [standalone]


#11138

Fromthaychua00@gmail.com
Date2017-11-08 16:31 -0800
Message-ID<4d5705d2-5b85-4a9f-986b-1c7485ad528b@googlegroups.com>
In reply to#11137
hi karl, do you have the VO 2.7b interface definitions for this PDF lib? thanks

[toc] | [prev] | [next] | [standalone]


#11139

From"Karl-Heinz" <invalid@invalid.invalid>
Date2017-11-09 09:23 +0100
Message-ID<f6ihkcF89a9U1@mid.individual.net>
In reply to#11138
Hi,

> do you have the VO 2.7b interface definitions
> for this PDF lib? thanks

here´s the link to the 7.26 DLL-Interface:

www.rauscher-software.de/downloads/Debenu_726.zip

1. In the mef you must at least replace the dll name "QuickPDFDLL0726" with
the one you´re using.

2. I don´t know what they changed, added, removed in the meantime. So it´s
up to you to check their version changelogs !


BTW. I´m still using the iSedQuickPDF.dll Version 5.11 - and i still don´t
miss anything ;-)

regards
Karl-Heinz 

[toc] | [prev] | [next] | [standalone]


#11145

Fromthaychua00@gmail.com
Date2017-11-11 08:22 -0800
Message-ID<1bb906c9-8805-40e8-9a7e-e3914ed74910@googlegroups.com>
In reply to#11139
many thanks

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web