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. Web Development
  3. ASP.NET
  4. Creating Microsoft Powerpoint presentation dynamically

Creating Microsoft Powerpoint presentation dynamically

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
5 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.
  • A Offline
    A Offline
    Avanika Gupta
    wrote on last edited by
    #1

    Hello all, I need to create Powerpoint presentation using asp.net.The format for the presentation is predefined, so I need to use a template for the presentation.This presentation should be generated on the client side. If anyone of you have any idea how to go about that, then please let me know. Thanks in advance :-)

    Thanks, Avanika

    S S 2 Replies Last reply
    0
    • A Avanika Gupta

      Hello all, I need to create Powerpoint presentation using asp.net.The format for the presentation is predefined, so I need to use a template for the presentation.This presentation should be generated on the client side. If anyone of you have any idea how to go about that, then please let me know. Thanks in advance :-)

      Thanks, Avanika

      S Offline
      S Offline
      seee sharp
      wrote on last edited by
      #2

      May be you can try using macros for that. I am not sure if you really want to build the presentation at client side. Why not you try building at server side and then post at client?

      - ashish

      A 1 Reply Last reply
      0
      • S seee sharp

        May be you can try using macros for that. I am not sure if you really want to build the presentation at client side. Why not you try building at server side and then post at client?

        - ashish

        A Offline
        A Offline
        Avanika Gupta
        wrote on last edited by
        #3

        Can you please explain a little more? I got to know after doing some R&D that one way to do is through Office Automation, and this way the presentation would be generated on the server side. How to post it at client.Another point I am doubtful about its behavior in multiuser application. Can you please explain you point little more?

        Thanks, Avanika

        S 1 Reply Last reply
        0
        • A Avanika Gupta

          Hello all, I need to create Powerpoint presentation using asp.net.The format for the presentation is predefined, so I need to use a template for the presentation.This presentation should be generated on the client side. If anyone of you have any idea how to go about that, then please let me know. Thanks in advance :-)

          Thanks, Avanika

          S Offline
          S Offline
          Sathesh Sakthivel
          wrote on last edited by
          #4

          Hi, Pls use the Macro and array in your application Form. I hope it will Works. any help pls follow this link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/odc_OFCallVBAFromAddin.asp[^] this will help u in Creating the Power Point Presentation. Happy Coding

          with regards Sathesh

          1 Reply Last reply
          0
          • A Avanika Gupta

            Can you please explain a little more? I got to know after doing some R&D that one way to do is through Office Automation, and this way the presentation would be generated on the server side. How to post it at client.Another point I am doubtful about its behavior in multiuser application. Can you please explain you point little more?

            Thanks, Avanika

            S Offline
            S Offline
            seee sharp
            wrote on last edited by
            #5

            you can use following code to push ppt file to client. try { Byte [] bytes = GetFileContents(filePath);//Get file contents as array of bytes Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=File" + _fileExtension); //File extension is ppt in your case Response.AddHeader("Content-Length", bytes.Length.ToString()); Response.ContentType = "application/octet-stream"; Response.Buffer = true; Response.BinaryWrite(bytes); Response.Flush(); } catch(FileNotFoundException fnfe) { //File not found } catch(Exception ex) { //Some exception }

            - ashish

            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