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. Visual Basic
  4. launching an application in vb to control powerpoint application

launching an application in vb to control powerpoint application

Scheduled Pinned Locked Moved Visual Basic
help
2 Posts 2 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    :-Ohi, I need help regarding the following application. 1. The application should have a button - "Launch PowerPoint" - clicking it launches PP. 2. The application has a browse button to select only PP files. On clicking it, it brings up a file selection dialog in which only the PP files are enabled for selection. On selecting a file, it opens into PP. 3. The application has a "Play" button. On clicking this, the PP brings up the slide show. 4. The application has a "Next" button. On clicking this, the PP proceeds to the next slide in the presentation. 5. The application has a "Back" button. On clicking it, the PP goes back to the previous slide. 6. The application has a edit field which takes only numbers. A check box labeled "Custom Timing" enables or disables it. When enabled, the contents of the check box is taken as the time separation between the slide changes - if "Next" is not clicked by then. For e.g. if we enter 10 into the edit box while the PP is playing the slide show, then if we do not press "Next" for 10 seconds, PP displays the next slide automatically. This you do by changing the slide flow information of the presentation slides. Thanks and Regards to all of u out there Ramya.

    D 1 Reply Last reply
    0
    • A Anonymous

      :-Ohi, I need help regarding the following application. 1. The application should have a button - "Launch PowerPoint" - clicking it launches PP. 2. The application has a browse button to select only PP files. On clicking it, it brings up a file selection dialog in which only the PP files are enabled for selection. On selecting a file, it opens into PP. 3. The application has a "Play" button. On clicking this, the PP brings up the slide show. 4. The application has a "Next" button. On clicking this, the PP proceeds to the next slide in the presentation. 5. The application has a "Back" button. On clicking it, the PP goes back to the previous slide. 6. The application has a edit field which takes only numbers. A check box labeled "Custom Timing" enables or disables it. When enabled, the contents of the check box is taken as the time separation between the slide changes - if "Next" is not clicked by then. For e.g. if we enter 10 into the edit box while the PP is playing the slide show, then if we do not press "Next" for 10 seconds, PP displays the next slide automatically. This you do by changing the slide flow information of the presentation slides. Thanks and Regards to all of u out there Ramya.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      ALL of this functionality is already built into PowerPoint. Why would you want to "reinvent the wheel"? Basically, you'll be setting a reference to the Microsoft PowerPoint object Library and controlling it thru code. You can create your own Open dialog and pass that file on to the PowerPoint application object you create. Playing the slide show should be as simple as myPowerPointAppObject.Show(), or something to that effect. The only sticking point is going to be the timing box. You can implement the textbox that only takes numbers very easily, but your going to have to override the presentations built in timers to get the next slide to show up when you want. Basically, all the functionality you described can be done as part of the presentation itself. All you do in PowerPoint is hit F5 to start the presentation. Click a mouse button or hit any key to show the next slide... RageInTheMachine9532

      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