Hi there,
I am using this code to display pdf-files using the default viewer which is running on the system
wsh = createobject("wscript.shell")
wsh.run(cPDFFile,1,.T.)
This opens the default viewer and waits until it is closed.
Nut when I use it on a win10-system, edge (which seems to be the
default viewer, if nothing else like the adobe reader ist installed) opens the pdf file but
an error occurs (translated from german):
Error 1429 OLE IDispatch Exceptioncode 0 from wshshell.run
Waiting for process not possible
Why does this happen? Because edge is more embedded than IE ever was and cannot finish?
Is there something I can do?
Best regards
Thomas