Jump to content
Sign in to follow this  

ShellExecute issues

Recommended Posts

I've successfully used ShellExecute in the past, which just perplexes me all the more.  The following code gives me an error: This file does not have a program associated with it for performing this action.

ShellExecute ("C:\Program Files (x86)\Microsoft Office\Office14\POWERPNT.EXE", "C:\Users\keitht\Desktop\New Microsoft PowerPoint Presentation.ppsx", "", "Show", @SW_MAXIMIZE)

It seems that the action in the error is the verb Show in the code, and it's true that powerpnt.exe has no "Show" verb, the slideshow (.ppsx) does.  The slideshow is currently opening in Edit mode.  How do I get it to open as a slideshow?






Meds.  They're not just for breakfast anymore. :'(

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...