Scripting PowerPointViewer 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
I want to open a number of presentations with the viewer from a script. So far I have

' Change the path and file name to specify the presentation you want to open
Const PRESENTATION_NAME = "D:\test.ppt

' Launch and get reference to PowerPoint Viewer
Set oViewer = CreateObject("PowerPointViewer.Application"

' Start a presentation in PowerPoint Viewer
oViewer.NewShow "d:\test.ppt", ppViewerSlideShowManualAdvance, msoTru

However, this does not do anything. Anyone klnow the way of doing this as a script
Thanks
Nick Bowde
(e-mail address removed)
 
Thanks Shyam
I looked at the page and the code there was for VBA not VBS.The VBS code I wrote above does not work!
I also tried the list file, but Powerpointviewer 2003 would not recognise the .lst file as per KB 190091.
I am running Windows XP Pro with Office XP
Nick
 
Thanks Shyam
I looked at the page and the code there was for VBA not VBS.The VBS code I wrote above does not work!
I also tried the list file, but Powerpointviewer 2003 would not

There's the problem. Viewer 2003 doesn't expose an object model that you can automate.
You'll need to use the older viewer to automate anything.

There are links to both viewer versions here:

Download Free PowerPoint Viewers
http://www.rdpslides.com/pptfaq/FAQ00153.htm

It always pays to mention the specific language you're using, PowerPoint version and any
other bits (like viewer version) in your first post. Saves time.
 
[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]
[TOP ISSUE - Are you having difficulty opening presentations in PPT 2003
that you just created in PPT 2003? -
http://support.microsoft.com/?id=329820]

Hello,

Unlike PowerPoint Viewer 97, PowerPoint Viewer 2003 does not expose any
object model for scripting/automation.

If you (or anyone else reading this message) have suggestions about the
object model for the PowerPoint Viewer (what specifically should it expose?
how would you use these objects? What solutions would they enable?), don't
forget to send your feedback to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

It's VERY important that, for EACH wish, you describe in detail, WHY it is
important TO YOU that your product suggestion be implemented. A good wish
submssion includes WHAT scenario, work-flow, or end-result is blocked by
not having a specific feature, HOW MUCH time and effort ($$$) is spent
working around a specific limitation of the current product, etc. Remember
that Microsoft receives THOUSANDS of product suggestions every day and we
read each one but, in any given product development cycle, there are ONLY
sufficient resources to address the ones that are MOST IMPORTANT to our
customers so take the extra time to state your case as CLEARLY and
COMPLETELY as possible so that we can FEEL YOUR PAIN.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions).

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
Back
Top