Page 1 of 1

pdf viewer

Posted: Thu Aug 27, 2015 12:19 pm
by jds
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?)

Re: pdf viewer

Posted: Thu Aug 27, 2015 1:42 pm
by jds
my earlier simple way of viewing was for exemple :
WINEXEC("Sumatrapdf.exe test.pdf)

Re: pdf viewer

Posted: Thu Aug 27, 2015 1:58 pm
by Antonio Linares
Try using:

ShellExecute( ,"open", "test.pdf",,,1 )

Re: pdf viewer

Posted: Thu Aug 27, 2015 4:17 pm
by jds
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é

Re: pdf viewer

Posted: Thu Aug 27, 2015 5:57 pm
by karinha

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

Re: pdf viewer

Posted: Fri Aug 28, 2015 7:25 am
by dutch
It's still work for me even Windows 10.
http://forums.fivetechsupport.com/viewt ... 15#p143855

Re: pdf viewer

Posted: Fri Aug 28, 2015 7:46 am
by Antonio Linares
You can open any PDF using Chrome, so if Chrome is installed then it can be used as a PDF viewer

Re: pdf viewer

Posted: Fri Aug 28, 2015 8:31 am
by jds
dutch wrote:It's still work for me even Windows 10.
http://forums.fivetechsupport.com/viewt ... 15#p143855
Hallo Dutch
Can you show me a simple example with sumatrapdf
Kind regards

Re: pdf viewer

Posted: Sat Aug 29, 2015 5:54 pm
by jds
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