shellexecute

shellexecute

Postby dtussman » Fri Feb 05, 2021 7:41 pm

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!
dtussman
 
Posts: 97
Joined: Sat Jun 06, 2015 6:57 pm

Re: shellexecute

Postby Natter » Fri Feb 05, 2021 7:52 pm

Shellexecute(0,0,"c:\concentrics\cloudconnect.pdf",0,0,3)
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am

Re: shellexecute

Postby dtussman » Fri Feb 05, 2021 8:06 pm

Beautiful! Thank you so much
dtussman
 
Posts: 97
Joined: Sat Jun 06, 2015 6:57 pm

Re: shellexecute

Postby nageswaragunupudi » Fri Feb 05, 2021 10:52 pm

Can you also try
Code: Select all  Expand view

HTMLVIEW( <cPdffileWithFullpath> )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests