shell a .PPS file

shell a .PPS file

Anonymous
Not applicable
259 Views
2 Replies
Message 1 of 3

shell a .PPS file

Anonymous
Not applicable
Does anyone know how I can shell a PowerPoint pps file?

I am trying to run the pps from within AutoCAD.

Thanks in advance for your help
0 Likes
260 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
If you can guarantee the path of PowerPoint you can use the Shell function, but probably a more robust solution would be to use the Windows API function ShellExecute. This will open the specified file in its associated application (ie like double-clicking the pps file in Windows Explorer). That way it doesn't matter if PowerPoint is a different version or at different paths on different machines.



See Microsoft Knowledgebase Article Q148632 for more information and an example.



Regards



Wayne Ivory

IT Analyst Programmer

Wespine Industries Pty Ltd
0 Likes
Message 3 of 3

Anonymous
Not applicable
This will work in a PGP file:
PPS, START POWERPNT "C:\junk\junk.pps",8,,

And this for a menu button:
^C^CSTART;POWERPNT "C:/junk/junk.pps";

HTH,
Kevin

"Nate Hunter" wrote in message
news:6E1A29E6138C54F6AA5FD35FB8579937@in.WebX.maYIadrTaRb...
> Does anyone know how I can shell a PowerPoint pps file?
>
> I am trying to run the pps from within AutoCAD.
>
> Thanks in advance for your help
>
>
0 Likes