I am still trying to get my head around ShellExecute. Thanks for the link and advice... Ideally, this is what I want from what I understand. A button is clicked and the power point file loads no matter where POWERPNT.EXE is located (i think this is the idea behind ShellExecute()). I'm still learning.
I have stumbled upon a site / example but it was in another language (lucky the code is in english).
This works but will not work is one of the computers has a different location for POWERPNT.EXE:
Use "open" verb and as file name use only ""test.pptx", ShellExecute will automatically launch associated application (the same behaviour as you double-click the file from explorer)
Like kbw said, if all you need to do is open PowerPoint, then ShellExecute() is real easy. But now you seem to be talking about invoking various methods within the interfaces exposed by PowerPoint. That's going to get complicated real fast, as you'll need to call the automation interface methods. However, its doable.