Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. PowerPoint execution from within an application

PowerPoint execution from within an application

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    snir_ya
    wrote on last edited by
    #1

    Hi, We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application? Thanks a lot in advance. Snir yarom.

    K H T 4 Replies Last reply
    0
    • S snir_ya

      Hi, We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application? Thanks a lot in advance. Snir yarom.

      K Offline
      K Offline
      khan
      wrote on last edited by
      #2

      You could use ShellExecute() to run the show. E.g. ShellExecute (NULL,"Open","c:\\a.pps",NULL,NULL,SW_SHOW); You can do this in InitInstance() etc of your application.

      this is this.

      S 1 Reply Last reply
      0
      • S snir_ya

        Hi, We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application? Thanks a lot in advance. Snir yarom.

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See ShellExecute[^]

        _**


        **_

        WhiteSky


        1 Reply Last reply
        0
        • K khan

          You could use ShellExecute() to run the show. E.g. ShellExecute (NULL,"Open","c:\\a.pps",NULL,NULL,SW_SHOW); You can do this in InitInstance() etc of your application.

          this is this.

          S Offline
          S Offline
          snir_ya
          wrote on last edited by
          #4

          Cheers. If i want to run the pps slideshow only once i need to registr a bool value (bool firstTime) in the registry. And to check its vaule each time the app starts. How do i read/write from/to the register this bool value ? Thanks in advance.

          K 1 Reply Last reply
          0
          • S snir_ya

            Hi, We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application? Thanks a lot in advance. Snir yarom.

            T Offline
            T Offline
            toxcct
            wrote on last edited by
            #5

            search for using a powerpoint automation in your application. ShellExecute() wont work for you as it opens the .ppt or the .pps file, but into an external app.


            TOXCCT >>> GEII power

            [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

            1 Reply Last reply
            0
            • S snir_ya

              Cheers. If i want to run the pps slideshow only once i need to registr a bool value (bool firstTime) in the registry. And to check its vaule each time the app starts. How do i read/write from/to the register this bool value ? Thanks in advance.

              K Offline
              K Offline
              khan
              wrote on last edited by
              #6

              You could use some registry functions like: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_functions.asp[^] There are a number of classes here on CP for using the Windows Registry too.

              this is this.

              1 Reply Last reply
              0
              • S snir_ya

                Hi, We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application? Thanks a lot in advance. Snir yarom.

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                And see http://support.microsoft.com/default.aspx?scid=kb;en-us;169505[^] maybe it is some helpful to you

                _**


                **_

                WhiteSky


                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups