powerpoint

Simple Example of creating a PowerPoint file

I'm looking for some sample code on how to add an image and text & output it as a PowerPoint file. The host server does not have Office and I'm not allowed to install anything so the "Manipulating Excel 2007 and PowerPoint 2007 Files with the Open XML Format API " will not help me. Below is the code the output the PowerPoint. I just don'...

Is there a reliable way to determine if a PDF was generated from a Powerpoint file?

Like the title says. Reason I ask is that we're converting PDFs to formatted ASCII text (using pdftotext) and only want to display the ones that look reasonably sane. PPT files tend to have text over images, diagonal text and others things that don't translate to ASCII very well, so we'd like to filter them out if we can. ...

PowerPoint Printing Problem c# - Nothing gets printed.

Guys, i am trying to print powerpoint docs through my windows application in c#. I am using Microsoft.Office.Interop.PowerPoint for this functionality. Following is the code which I have used. It sends the request to printer but nothing gets printed. if you guys have any knowledge plz help. string filename = "C:\\test.ppt"; ...

C#: Powerpoint does not Quit?

Hello, I have a script that opens Powerpoint from my application and exports all slides. After that, I need the application to be closed. I've tried without any luck. Could you please help? using System; using System.Collections.Generic; using System.Text; using System.IO; using Powerpoint = Microsoft.Office.Interop.PowerPoint; using M...

How do I make powerpoint play presentations/load up ppts automatically?

I was wondering how I can make a script load powerpoint file, advance slides automatically and put it on full screen. Is there a way to make windows do that? Can I just load powerpoint.exe and maybe use some sort of API/Pipe to give commands from another script. To make a case: I'm making a script that automatically scans a folder in wi...

Where can I find good documentation on OpenXML

I'm looking to create powerpoint file in OpenXML. I'm looking to use the following features Bind bits of the page to an xml file. For example, one tag would be bound to the name field of an xml file. The plan is to simple drop the xml file in the right folder, zip up the template, and rename the file the proper extension and have it j...

CustomXML In Powerpoint

I want to create a PowerPoint template. I want the template to have references to items like NAME and the like based on an external source. I know with WordprocessingML I can just make a reference to an XML file and supply an x-path, but I also hear this is not supported in PowerPoint. So how do I do this with PresentationML? Are repeat...

How to get real bullet positions in MS PowerPoint 2003

Hi, guys. I'm working on PowerPoint 2003 presentation conversion into some format, and I'm confused very much at one moment. Really, I can't understand what I'm doing wrong for almost two days wasting my time for this i-thought-it-was-tiny problem. I use PowerPoint Object Model to get the presentation document structure and its layout, ...

how to convert programatically powerpoint to xml and back

I need to convert powerpoint file to a text based file such as xml o html programatically and do some proccesses in it and again convert the textbased file top powerpoint. I prefer to do it with java. ...

Is it possible to use iSpring Presenter component in a native x64 assembly?

Works well when set to x86, but don't work when set to x64. Any ideas?. ...

How to switch between "active paper" and "slides" in Power Point VBA

Hello everybody, I have a simple question regarding PowerPoint VBA: Which VBA code should I use to switch between the "active sheet of paper" (I am sorry I don't know how to name it properly), in which I am doing something with the object(s), and the file (or "field", again sorry for my poor terminology) where all the slides are ? Fo...

Javascript to Jscript ??

I need help with this... I've found a javascript app online in which I want to insert into powerpoint for a presentation... Vb support jscript Can i convert Javascript to Jscript some how? or can someone help me with it.... If wanted just ask for code or site ...

How to create dots in Power Point VBA, move them around in different directions while keeping them connected with straight lines?

Hello everybody. There is one thing I want to do in PowerPoint VBA. I want to create two dots in the main window - dot A and dot B - by their given coordinates: for example, A (232, 464) and B (109, 567). I don't know how to do it in PowerPoint VBA. I know how to create a simple straight line. I use this macro code for that: Sub Crea...

Record the timestamps of slide changes during a live Powerpoint presentation?

I am planning to implement a lecture capture solution. One of the requirements is to record both the presenter and the slideshow. The presenter is recorded with a videocamera obviously, and the slideshow will probably be captured using a tool like Camtasia. Now during playback three components are visible: the presenter, the slides and ...

How to make a loop in PowerPoint VBA?

As far as I know, the code below gets a shape from the active window, nudges it a bit, copies the slide and pastes it right after the current one, then turns the pasted slide into an active window, and nudges it again: Sub Test() ' Get the active presentation Dim oPresentation As Presentation Set oPresentation = ActivePresentation ...

In PowerPoint VBA, how to nudge all the present shapes in the window (not only one)?

As far as I understand, this code "grabs" only the first shape in the active window and nudges it: Set oShape = oSlide.Shapes(1) oShape.Left = oShape.Left + 5 How can I "grab" all the shapes in the window and nudge them all at once? ...

How to do the square root in PowerPoint VBA?

Here is some math code that adds A to B: Sub math() A = 23 B = 2 ABSumTotal = A + B strMsg = "The answer is " & "$" & ABSumTotal & "." MsgBox strMsg End Sub But how can I calculate a square root of ABSumTotal? Is it possible in PowerPoint VBA? ...

can we open a PowerPoint file in an iPhone application?

I am developing an iPhone application where I want to open a PowerPoint file in my application. Can anyone please help me out? ...

VBA: How to perform an action on specific elements of an array

In VBA for PowerPoint, as far as I understand, this code gets only the first shape in the active window and nudges it: Set oShape = oSlide.Shapes(1) oShape.Left = oShape.Left + 5 And if I wanted to nudge all the shapes, I would use a loop for this. But how can I get and nudge only certain shapes, based on their number? For exampl...

What is the best presentation tool for technical stuff?

While recently exploring prezi I realized there have to be better tools than PowerPoint for presenting something, especially technical stuff. What differentiates technical stuff from other stuff in my opinion is the support of these features: be able to insert large code fragments scroll in code fragments annotate (highlight) text/cod...