can anyone tell me a simple way to show/view a pdf file from within a windows program
my earlier way with Sumatrapdf.exe don't work anymore (in windows 7?)
pdf viewer
Re: pdf viewer
my earlier simple way of viewing was for exemple :
WINEXEC("Sumatrapdf.exe test.pdf)
WINEXEC("Sumatrapdf.exe test.pdf)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: pdf viewer
Try using:
ShellExecute( ,"open", "test.pdf",,,1 )
ShellExecute( ,"open", "test.pdf",,,1 )
Re: pdf viewer
Antonio,
Thanks for your fast support but it does not work with Shellexecute()
Should there be an other small pdf viewer that works (since 10 years) like Sumatrapdf
I think the actual Sumatra version is not (yet) compatible with Win 7 or 8
Gracias por su ayuda
José
Thanks for your fast support but it does not work with Shellexecute()
Should there be an other small pdf viewer that works (since 10 years) like Sumatrapdf
I think the actual Sumatra version is not (yet) compatible with Win 7 or 8
Gracias por su ayuda
José
Re: pdf viewer
Code: Select all
NFEVisualSUM := "C:\NFEPDF\"+"CCE"+ALLTRIM( STR( nNumNfeSUM ) )+".PDF"
// LANG = LANGUAGE
WinExec( cDirExe+"sumatra\sumatrapdf.exe -reuse-instance -lang pt "+NFEVisualSUM) //-restrict -fullscreen
João Santos - São Paulo - Brasil
Re: pdf viewer
It's still work for me even Windows 10.
http://forums.fivetechsupport.com/viewt ... 15#p143855
http://forums.fivetechsupport.com/viewt ... 15#p143855
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: pdf viewer
You can open any PDF using Chrome, so if Chrome is installed then it can be used as a PDF viewer
Re: pdf viewer
Hallo Dutchdutch wrote:It's still work for me even Windows 10.
http://forums.fivetechsupport.com/viewt ... 15#p143855
Can you show me a simple example with sumatrapdf
Kind regards
Re: pdf viewer
Hallo pdf viewers
My old easy way of pdf viewing with sumatrapdf.exe (version 2.2. and later) works (again) by deleting the Adobe Acrobat reader program so that sumatrapdf.exe becomes the default pdf reader
the code is simply: WINEXEC("sumatraPDF.exe ...\test.pdf")
Kind regards and a Sunny WE
My old easy way of pdf viewing with sumatrapdf.exe (version 2.2. and later) works (again) by deleting the Adobe Acrobat reader program so that sumatrapdf.exe becomes the default pdf reader
the code is simply: WINEXEC("sumatraPDF.exe ...\test.pdf")
Kind regards and a Sunny WE