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. The Lounge
  3. PowerPoint conditionals

PowerPoint conditionals

Scheduled Pinned Locked Moved The Lounge
csharpcomtoolshelpquestion
8 Posts 5 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.
  • 0 Offline
    0 Offline
    0x3c0
    wrote on last edited by
    #1

    I'm working on a piece of ICT coursework and could do with a little help. I'll spare you the details of the circumstances, but I've failed a unit because my e-learning product wasn't written in PowerPoint. I've been told to recreate it over the weekend. I can get the content and videos migrated over easily enough - some parts actually look better in PP. But a major part of my original project was the concept of checkpoints, where a chapter on the main menu would not be viewable until the previous chapters and introduction were viewed. This was easy in C# - a quick if-clause and I'd be done. But in PP, I'm stumped. I've done some research and apparently I need to use alternative views for every possible combination, but this just feels wrong. Is this the cleanest way to do it, or is there a better way to do it?

    OSDev :)

    R S M 4 Replies Last reply
    0
    • 0 0x3c0

      I'm working on a piece of ICT coursework and could do with a little help. I'll spare you the details of the circumstances, but I've failed a unit because my e-learning product wasn't written in PowerPoint. I've been told to recreate it over the weekend. I can get the content and videos migrated over easily enough - some parts actually look better in PP. But a major part of my original project was the concept of checkpoints, where a chapter on the main menu would not be viewable until the previous chapters and introduction were viewed. This was easy in C# - a quick if-clause and I'd be done. But in PP, I'm stumped. I've done some research and apparently I need to use alternative views for every possible combination, but this just feels wrong. Is this the cleanest way to do it, or is there a better way to do it?

      OSDev :)

      R Offline
      R Offline
      Robert Surtees
      wrote on last edited by
      #2

      1. Make a PP slide that has a container for a C# application. 2. Insert your C# project as an object. 3. ??? 4. Profit. (and probably fail again) :)

      1 Reply Last reply
      0
      • 0 0x3c0

        I'm working on a piece of ICT coursework and could do with a little help. I'll spare you the details of the circumstances, but I've failed a unit because my e-learning product wasn't written in PowerPoint. I've been told to recreate it over the weekend. I can get the content and videos migrated over easily enough - some parts actually look better in PP. But a major part of my original project was the concept of checkpoints, where a chapter on the main menu would not be viewable until the previous chapters and introduction were viewed. This was easy in C# - a quick if-clause and I'd be done. But in PP, I'm stumped. I've done some research and apparently I need to use alternative views for every possible combination, but this just feels wrong. Is this the cleanest way to do it, or is there a better way to do it?

        OSDev :)

        S Offline
        S Offline
        smcnulty2000
        wrote on last edited by
        #3

        Were they afraid you'd virus them up or something? I'm not sure there's a way to do this with powerpoint directly. Although I'll be intrigued if someone comes up with a way. I'd consider two options: 1. drop the conditionals idea 2. learn the macro tool inside of PPT The first makes sense if your grade doesn't absolutely depend on this. Frankly, if they insist you use this tool but it doesn't do that thing, then that should be a real option. The second has the problem of maybe taking too long to do. But it is possible with that tool you could solve this. Sadly I don't know if it will. This is all just a best-faith kind of suggestion. If I knew for sure that the macro language would get you there I'd point you to a site or something that could cut the shortest path.

        _____________________________ I've often heard of an older, wiser person passing the torch. After witnessing something like that, I'm not sure who'd want the thing.

        D 0 2 Replies Last reply
        0
        • 0 0x3c0

          I'm working on a piece of ICT coursework and could do with a little help. I'll spare you the details of the circumstances, but I've failed a unit because my e-learning product wasn't written in PowerPoint. I've been told to recreate it over the weekend. I can get the content and videos migrated over easily enough - some parts actually look better in PP. But a major part of my original project was the concept of checkpoints, where a chapter on the main menu would not be viewable until the previous chapters and introduction were viewed. This was easy in C# - a quick if-clause and I'd be done. But in PP, I'm stumped. I've done some research and apparently I need to use alternative views for every possible combination, but this just feels wrong. Is this the cleanest way to do it, or is there a better way to do it?

          OSDev :)

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

          I did have another idea. I believe you can insert another powerpoint presentation as an object inside of a powerpoint presentation. They'd be stuck seeing the slide before they clicked on the embedded powerpoint piece that had the additional content. Again, these are just tricks I would try.

          _____________________________ I've often heard of an older, wiser person passing the torch. After witnessing something like that, I'm not sure who'd want the thing.

          1 Reply Last reply
          0
          • S smcnulty2000

            Were they afraid you'd virus them up or something? I'm not sure there's a way to do this with powerpoint directly. Although I'll be intrigued if someone comes up with a way. I'd consider two options: 1. drop the conditionals idea 2. learn the macro tool inside of PPT The first makes sense if your grade doesn't absolutely depend on this. Frankly, if they insist you use this tool but it doesn't do that thing, then that should be a real option. The second has the problem of maybe taking too long to do. But it is possible with that tool you could solve this. Sadly I don't know if it will. This is all just a best-faith kind of suggestion. If I knew for sure that the macro language would get you there I'd point you to a site or something that could cut the shortest path.

            _____________________________ I've often heard of an older, wiser person passing the torch. After witnessing something like that, I'm not sure who'd want the thing.

            D Offline
            D Offline
            Dan Neely
            wrote on last edited by
            #5

            smcnulty2000 wrote:

            This is all just a best-faith kind of suggestion. If I knew for sure that the macro language would get you there I'd point you to a site or something that could cut the shortest path.

            Based on my experience with excel/word VBA you should be able to create VB6 esque forms with the basic set of windows controls. The only thing I think would be needed I'm not aware of (in other office apps) is a way to save the state between open/closing the dialogs/file. That said it's enough of a PITA that if it's not a requirement I suggest not being as clever as you originally wanted. That or going crazy and embedding a Flash/Silverblight app in a slide and doing everything in there.

            3x12=36 2x12=24 1x12=12 0x12=18

            S 1 Reply Last reply
            0
            • D Dan Neely

              smcnulty2000 wrote:

              This is all just a best-faith kind of suggestion. If I knew for sure that the macro language would get you there I'd point you to a site or something that could cut the shortest path.

              Based on my experience with excel/word VBA you should be able to create VB6 esque forms with the basic set of windows controls. The only thing I think would be needed I'm not aware of (in other office apps) is a way to save the state between open/closing the dialogs/file. That said it's enough of a PITA that if it's not a requirement I suggest not being as clever as you originally wanted. That or going crazy and embedding a Flash/Silverblight app in a slide and doing everything in there.

              3x12=36 2x12=24 1x12=12 0x12=18

              S Offline
              S Offline
              smcnulty2000
              wrote on last edited by
              #6

              Ouch. Glad its not my project. I have enough PITA projects on my plate.

              _____________________________ I've often heard of an older, wiser person passing the torch. After witnessing something like that, I'm not sure who'd want the thing.

              1 Reply Last reply
              0
              • S smcnulty2000

                Were they afraid you'd virus them up or something? I'm not sure there's a way to do this with powerpoint directly. Although I'll be intrigued if someone comes up with a way. I'd consider two options: 1. drop the conditionals idea 2. learn the macro tool inside of PPT The first makes sense if your grade doesn't absolutely depend on this. Frankly, if they insist you use this tool but it doesn't do that thing, then that should be a real option. The second has the problem of maybe taking too long to do. But it is possible with that tool you could solve this. Sadly I don't know if it will. This is all just a best-faith kind of suggestion. If I knew for sure that the macro language would get you there I'd point you to a site or something that could cut the shortest path.

                _____________________________ I've often heard of an older, wiser person passing the torch. After witnessing something like that, I'm not sure who'd want the thing.

                0 Offline
                0 Offline
                0x3c0
                wrote on last edited by
                #7

                Thanks for your help. I think that I've got something worked out; it's as elegant as I can think of, considering it's in VBA: I keep an array of boolean variables, and put a command button which goes back to the main menu on every slide, also setting the needed element to true. On the main menu, I check if that variable is true, and only proceed if it is.

                OSDev :)

                1 Reply Last reply
                0
                • 0 0x3c0

                  I'm working on a piece of ICT coursework and could do with a little help. I'll spare you the details of the circumstances, but I've failed a unit because my e-learning product wasn't written in PowerPoint. I've been told to recreate it over the weekend. I can get the content and videos migrated over easily enough - some parts actually look better in PP. But a major part of my original project was the concept of checkpoints, where a chapter on the main menu would not be viewable until the previous chapters and introduction were viewed. This was easy in C# - a quick if-clause and I'd be done. But in PP, I'm stumped. I've done some research and apparently I need to use alternative views for every possible combination, but this just feels wrong. Is this the cleanest way to do it, or is there a better way to do it?

                  OSDev :)

                  M Offline
                  M Offline
                  Mark_Wallace
                  wrote on last edited by
                  #8

                  Try using Powerpoint itself. Put the info in a frame, and display it when another object is clicked/after a timer event/etc. It's often advantageous to stop thinking like a dev, when using office apps -- some other dev has probably already built in the tool you need. And remember that people don't care about how clever or pixel-perfect a presentation is; they care about what you say and how you say it, while you're showing them the pictures on the wall.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  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