FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour shellexecute
Posts: 102
Joined: Sat Jun 06, 2015 06:57 PM
shellexecute
Posted: Fri Feb 05, 2021 07: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!

Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: shellexecute
Posted: Fri Feb 05, 2021 07:52 PM

Shellexecute(0,0,"c:\concentrics\cloudconnect.pdf",0,0,3)

Posts: 102
Joined: Sat Jun 06, 2015 06:57 PM
Re: shellexecute
Posted: Fri Feb 05, 2021 08:06 PM

Beautiful! Thank you so much

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: shellexecute
Posted: Fri Feb 05, 2021 10:52 PM
Can you also try
Code (fw): Select all Collapse
HTMLVIEW( <cPdffileWithFullpath> )
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion