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#
  4. How to run ppt slide one after one by Process.Start

How to run ppt slide one after one by Process.Start

Scheduled Pinned Locked Moved C#
tutorial
7 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.
  • T Offline
    T Offline
    Tridip Bhattacharjee
    wrote on last edited by
    #1

    please guide me what argument i need to pass with ppt files name when run with Process.Start as a result ppt slide should start automatically System.Diagnostics.Process.Start("pptfilename.pptx") thanks

    tbhattacharjee

    D 1 Reply Last reply
    0
    • T Tridip Bhattacharjee

      please guide me what argument i need to pass with ppt files name when run with Process.Start as a result ppt slide should start automatically System.Diagnostics.Process.Start("pptfilename.pptx") thanks

      tbhattacharjee

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

      Did you even TRY to Google for "PowerPoint command line arguments" before you posted this? It's called "reading the documentation".

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      T 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Did you even TRY to Google for "PowerPoint command line arguments" before you posted this? It's called "reading the documentation".

        A guide to posting questions on CodeProject

        Click this: Asking questions is a skill. Seriously, do it.
        Dave Kreskowiak

        T Offline
        T Offline
        Tridip Bhattacharjee
        wrote on last edited by
        #3

        got this one but not sure does it solve my purpose Open the specified presentation file as a slide show. Example: "c:\program files\microsoft office\office12\POWERPNT.exe" /S "Presentation1.pptx" link from where i got it Command-line switches for PowerPoint 2007 and the PowerPoint Viewer 2007 - PowerPoint[^]

        tbhattacharjee

        D 1 Reply Last reply
        0
        • T Tridip Bhattacharjee

          got this one but not sure does it solve my purpose Open the specified presentation file as a slide show. Example: "c:\program files\microsoft office\office12\POWERPNT.exe" /S "Presentation1.pptx" link from where i got it Command-line switches for PowerPoint 2007 and the PowerPoint Viewer 2007 - PowerPoint[^]

          tbhattacharjee

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

          So did you keep reading all the way down the article, like to where it mentions the /N# switch? Apparently not. Research is a skill you MUST have to survive doing this job.

          A guide to posting questions on CodeProject

          Click this: Asking questions is a skill. Seriously, do it.
          Dave Kreskowiak

          P 1 Reply Last reply
          0
          • D Dave Kreskowiak

            So did you keep reading all the way down the article, like to where it mentions the /N# switch? Apparently not. Research is a skill you MUST have to survive doing this job.

            A guide to posting questions on CodeProject

            Click this: Asking questions is a skill. Seriously, do it.
            Dave Kreskowiak

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            He's a help vampire

            This space for rent

            T 1 Reply Last reply
            0
            • P Pete OHanlon

              He's a help vampire

              This space for rent

              T Offline
              T Offline
              Tridip Bhattacharjee
              wrote on last edited by
              #6

              yes i googled it but face some problem. i use the below code

              webBrowser1.Dock = DockStyle.Fill;
              webBrowser1.Navigate("about.blank");
              webBrowser1.Navigate(@"e:\Presentations-Tips.ppt");

              when i run the code then a dialog come which ask me to choose one option out of 3 and i select open option. after selection open option power point apps open but no slide show run in my webbrowser control. [here is the screen shot url] the problem is when i run the above code then first power point application is open which i do not want. also nothing start showing in web browser controls. basically i want to run ppt slide show in web browser controls but power point application will not run. now tell me how it will be possible and what code i need to use. thanks

              tbhattacharjee

              D 1 Reply Last reply
              0
              • T Tridip Bhattacharjee

                yes i googled it but face some problem. i use the below code

                webBrowser1.Dock = DockStyle.Fill;
                webBrowser1.Navigate("about.blank");
                webBrowser1.Navigate(@"e:\Presentations-Tips.ppt");

                when i run the code then a dialog come which ask me to choose one option out of 3 and i select open option. after selection open option power point apps open but no slide show run in my webbrowser control. [here is the screen shot url] the problem is when i run the above code then first power point application is open which i do not want. also nothing start showing in web browser controls. basically i want to run ppt slide show in web browser controls but power point application will not run. now tell me how it will be possible and what code i need to use. thanks

                tbhattacharjee

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

                That's not your original code. You don't have the control over which slide is shown using the webbrowser control method.

                A guide to posting questions on CodeProject

                Click this: Asking questions is a skill. Seriously, do it.
                Dave Kreskowiak

                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