Page 1 of 1

shellexecute

Posted: Fri Feb 05, 2021 7:41 pm
by dtussman
Hi All. I just want to view a pdf file so I use the command:

tuss:=shellexecute(0,"open","c:\concentrics\cloudconnect.pdf",,,1)

and it works with windows 7 but with windows 10 nothing happens and it returns 31.

Probably its a very complicated answer but I hope not!

Re: shellexecute

Posted: Fri Feb 05, 2021 7:52 pm
by Natter
Shellexecute(0,0,"c:\concentrics\cloudconnect.pdf",0,0,3)

Re: shellexecute

Posted: Fri Feb 05, 2021 8:06 pm
by dtussman
Beautiful! Thank you so much

Re: shellexecute

Posted: Fri Feb 05, 2021 10:52 pm
by nageswaragunupudi
Can you also try

Code: Select all

HTMLVIEW( <cPdffileWithFullpath> )