Hi,
I need to get my program to open a PDF document when Help is called, but I can't find a command that I can pass the path of the file, and it will open in its default viewer.
In Windows, I am using the ShellExecute command. The PDF file opes up in Adobe Reader as expected. The PDF file is incbin'd into the executable and is extracted into a temporary directory when the program loads, using SaveBank().
In addition, the program needs to continue, i.e. *not halt*, when the file is "executed". (I read somewhere for executing other EXEs, you could do system_ path$ + " &" to acheive this in Linux, but this doesn't work with PDF documents.)
Thanks
Seb
P.S. I am also looking for a Mac compatible command so any help on that is welcome too...
I need to get my program to open a PDF document when Help is called, but I can't find a command that I can pass the path of the file, and it will open in its default viewer.
In Windows, I am using the ShellExecute command. The PDF file opes up in Adobe Reader as expected. The PDF file is incbin'd into the executable and is extracted into a temporary directory when the program loads, using SaveBank().
In addition, the program needs to continue, i.e. *not halt*, when the file is "executed". (I read somewhere for executing other EXEs, you could do system_ path$ + " &" to acheive this in Linux, but this doesn't work with PDF documents.)
Thanks
Seb
P.S. I am also looking for a Mac compatible command so any help on that is welcome too...