![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
execute("C:\\Program Files\\MSOffice\\OFFICE11\\Powerpnt.exe,C:\\Corel\ \PdoxApps\\Visual Acuity\\animation1.pps"). |
#3
| |||
| |||
|
|
Hi, does anybody know why this does not work when trying to launch a pps file? Perhaps someone can tell me the best way of showing a pps display from paradox. Thanks Paul. execute("C:\\Program Files\\MSOffice\\OFFICE11\\Powerpnt.exe,C:\\Corel\ \PdoxApps\\Visual Acuity\\animation1.pps"). |
#4
| |||
| |||
|
|
I think this will work: execute("C:\\Program Files\\MSOffice\\OFFICE11\\Powerpnt.exe -C:\\Corel\\PdoxApps\\Visual Acuity\\animation1.pps"). hans "OzPaul" <pfweston (AT) yahoo (DOT) com> wrote in message news:1164092846.546344.87230 (AT) h48g2000cwc (DOT) googlegroups.com... Hi, does anybody know why this does not work when trying to launch a pps file? Perhaps someone can tell me the best way of showing a pps display from paradox. Thanks Paul. execute("C:\\Program Files\\MSOffice\\OFFICE11\\Powerpnt.exe,C:\\Corel\ \PdoxApps\\Visual Acuity\\animation1.pps"). |
#5
| |||
| |||
|
|
Also note that the "PPS" file-extension must be properly registered, so that an attempt to "execute" one automatically causes the correct application to be launched . . . |
#6
| |||
| |||
|
|
Also note that the "PPS" file-extension must be properly registered, so that an attempt to "execute" one automatically causes the correct application to be launched . . . Not when you call it like it was here, first a reference to the exe-file, then followed by a path to a file, then it shouldn't matter if the file-extension is registered to the exe. At least is that how I think most programs work. Anyway, ShellExecuteA is a better way because then one don't have to worry about which version of Powerpoint, where it is installed etc. If the user doesn't have Powerpoint he might have installed the free pp-viewer from Microsoft and then the path and exe file name will be different, etc, etc. Anders |
![]() |
| Thread Tools | |
| Display Modes | |
| |