Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2004
    Location
    Nashville
    Posts
    52

    Question Unanswered: Run a presentation in Access

    Hello forum Gurus,

    Is it possible to have a Power Point Presentation open/run when a user clicks on a command button on a form in Access. I'm aware of the "run app" command, however, it only opens Power Point Application not the presentation.

    I'm trying to create a tutorial presentation.

    Or should I just give it up??

  2. #2
    Join Date
    Jan 2005
    Posts
    144
    I could be wrong, but I want to say you could probably use "Shell" to accomplish what you're after. I think that if you target a file using Shell, Windows will open the file in it's native program - PowerPoint in your case. Try something like the following under the OnClick event of your button and just replace the file path and make sure you use the proper extension.

    Code:
    Dim stAppName As String
    stAppName = "C:\ProgramFiles\SomeProgram\SomeFile.xls"
    Call Shell(stAppName, 1)
    I've never tried this, so let me know if it works or not. HTH

  3. #3
    Join Date
    Apr 2004
    Location
    Nashville
    Posts
    52

    Smile

    Hi DaVinci,

    Quick response!! Wow!

    I tried your code and I got a "Path not found" error. Could be that Power Point saves to My Documents. But I tried that path also and it didn't work.

    It would be pretty slick if this can be done!

  4. #4
    Join Date
    Jan 2005
    Posts
    144
    Well, sorry that idea didn't work - it was worth a try. I was able to track down the following link. Check it out and let me know if it helps you out at all.

    http://support.microsoft.com/?kbid=210075

  5. #5
    Join Date
    Apr 2004
    Location
    Nashville
    Posts
    52
    Hi DaVinci,
    Sorry for the late response.

    I found this article I want to share with you. It applies to MS Access 2003 but it may be useful. I'm going to give it a try.

    http://msdn.microsoft.com/office/und...werpoint_using

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •