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 Automation

PowerPoint Automation

Scheduled Pinned Locked Moved C / C++ / MFC
testingtools
6 Posts 3 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.
  • H Offline
    H Offline
    hitonly2008
    wrote on last edited by
    #1

    Hi all! I was Trying to Open a Presentation Of PowerPoint. For That I have Used "Open" Method on a Pointer Of Presentations. But it Gives result as Exception Occured unles and untill an Instance Of PowerPoint is Not Running. So in this case I have To manually run an instance Of PowerPoint Before Opening any Presentation. Thank You In Advace.

    S 1 Reply Last reply
    0
    • H hitonly2008

      Hi all! I was Trying to Open a Presentation Of PowerPoint. For That I have Used "Open" Method on a Pointer Of Presentations. But it Gives result as Exception Occured unles and untill an Instance Of PowerPoint is Not Running. So in this case I have To manually run an instance Of PowerPoint Before Opening any Presentation. Thank You In Advace.

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #2

      Yes you need to create instance before you open any presentation.

      H 1 Reply Last reply
      0
      • S SandipG

        Yes you need to create instance before you open any presentation.

        H Offline
        H Offline
        hitonly2008
        wrote on last edited by
        #3

        [Message Deleted]

        S H 2 Replies Last reply
        0
        • H hitonly2008

          [Message Deleted]

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

          How are you creating instance?? I meant you need to launch the powerpoint using class _Application Look here http://www.codeproject.com/KB/COM/ole_automation.aspx[^]

          modified on Tuesday, May 27, 2008 2:33 AM

          H 1 Reply Last reply
          0
          • S SandipG

            How are you creating instance?? I meant you need to launch the powerpoint using class _Application Look here http://www.codeproject.com/KB/COM/ole_automation.aspx[^]

            modified on Tuesday, May 27, 2008 2:33 AM

            H Offline
            H Offline
            hitonly2008
            wrote on last edited by
            #5

            Thanks For Your Reply I have Solved The Problem. Actually I was Needed To Set The Optional Parameter WithWindow Of "Open" Method as "msoFalse". Thanks

            1 Reply Last reply
            0
            • H hitonly2008

              [Message Deleted]

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

              Wheres your reply?

              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