shellexecute

Post Reply
dtussman
Posts: 78
Joined: Sat Jun 06, 2015 6:57 pm

shellexecute

Post 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!
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Re: shellexecute

Post by Natter »

Shellexecute(0,0,"c:\concentrics\cloudconnect.pdf",0,0,3)
dtussman
Posts: 78
Joined: Sat Jun 06, 2015 6:57 pm

Re: shellexecute

Post by dtussman »

Beautiful! Thank you so much
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: shellexecute

Post by nageswaragunupudi »

Can you also try

Code: Select all

HTMLVIEW( <cPdffileWithFullpath> )
 
Regards

G. N. Rao.
Hyderabad, India
Post Reply