How to start a file's application in C++
-
I have a help file that I wrote and saved as a .pdf file. I want to be able to click a help button and have the file pop-up in Acrobat reader. I have coded a system command as follows: system("start help.pdf"); and this works but it is slow and always pops up a DOS command window. Is there a better way to do this?
-
I have a help file that I wrote and saved as a .pdf file. I want to be able to click a help button and have the file pop-up in Acrobat reader. I have coded a system command as follows: system("start help.pdf"); and this works but it is slow and always pops up a DOS command window. Is there a better way to do this?
use the windows shell: ShellFileExecute
-
I have a help file that I wrote and saved as a .pdf file. I want to be able to click a help button and have the file pop-up in Acrobat reader. I have coded a system command as follows: system("start help.pdf"); and this works but it is slow and always pops up a DOS command window. Is there a better way to do this?
Can use ShellExecuteEx / ShellExecute. Have a look @ MSDN
-
Can use ShellExecuteEx / ShellExecute. Have a look @ MSDN