Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / August 2006

Tip: Looking for answers? Try searching our database.

PP call and loop a short saved pps. from another pps.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill Armitage - 10 Aug 2006 10:41 GMT
I have a main PP presentaton of 24 slides and another shorter
sub-presentation of 11 slides that I want to run as a loop from within the
main presentation.   Slide 3 of the main presentation is simply a Command
Button when clicked runs the following:

Private Sub cmdStartStars_Click()
   Presentations.Open FileName:="C:\Church\CE_Study\URC_StA\Stars_00.pps",
ReadOnly:=msoFalse
   With ActivePresentation.SlideShowSettings
       .ShowType = ppShowTypeKiosk
       .LoopUntilStopped = msoTrue
       .ShowWithNarration = msoTrue
       .ShowWithAnimation = msoTrue
       .RangeType = ppShowAll
       .AdvanceMode = ppSlideShowUseSlideTimings
       .PointerColor.SchemeColor = ppForeground
       .Run
   End With
   SlideShowWindows(Index:=1).View.Next
End Sub

When the sub-presentation is saved as a .pps extension and the main
presentation is a normal PP .ppt this works perfectly.   When the 3rd slide
of the main presentation is displayed, I click on the command button and the
sub-presentation then loops continuously until I press 'Escape' and this
stops the sub-presentation and re-displays slide 3 of the main presentation
and I can then continue with the main presentation.
BUT, if I save the main presentation as a .pps and run it, when I click the
command button I get the following error message

 Runtime error '-2147188160(80048240) Presentation (unknown member):
Invalid Request.   The Powerpoint Frame Window does not exist

When I cancel this message it then goes on to loop the sub-presentation
correctly BUT when I press 'Escape' it does not return to slide 3 of the main
presentation but terminates the whole thing.

Any help to solve these two problems would be greatly appreciated.
Bill Armitage - 10 Aug 2006 14:33 GMT
Additional Info
I checked Microsoft Knowledge base and found the following and it claims
that SP2 fixes this problem - see the following explanation:

Runtime error calling the Close method of ActivePresentation in PowerPoint
events
Calling Presentation.Close in the events in the following list causes the
following error message:
Run-time error '-2147188160 (80048240)': Application (unknown member):
Invalid request. "The operation cannot be performed in this handler"
The error will occur with the following events:
PresentationOpen

This seems to answer my problem - BUT I have
PowerPoint 2002 (10.6501.6626) with SP3 already installed.
and I still get this error when 'PresentationOpen' is encountered.
Its the latter part of the error massage that is different.
If there an SP4 for PowerPoit that fixes this problem???

> I have a main PP presentaton of 24 slides and another shorter
> sub-presentation of 11 slides that I want to run as a loop from within the
[quoted text clipped - 34 lines]
>
> Any help to solve these two problems would be greatly appreciated.
John Wilson - 10 Aug 2006 19:10 GMT
Bill

Do you have a special reason to use vba?

_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html

> I have a main PP presentaton of 24 slides and another shorter
> sub-presentation of 11 slides that I want to run as a loop from within the
[quoted text clipped - 34 lines]
>
> Any help to solve these two problems would be greatly appreciated.
Bill Armitage - 10 Aug 2006 22:27 GMT
John,
NO! I just didn't know how to do it any other way.
If there is another way of doing this with Power Point that would be great!!!
(By the way, if I send this Power Point presentation on a CD saved as a .pps
can this be copied onto another PC that doesn't have Power Point installed
and still run?   In other words, is a .pps like a stand-alone version of a
.ppt presentation?)
Thanks for your interest - any help would be gretaly appreciated.
Bill

> Bill
>
[quoted text clipped - 43 lines]
> >
> > Any help to solve these two problems would be greatly appreciated.
Bill Armitage - 11 Aug 2006 22:09 GMT
John,
Thank's for the link.
I realise now that I can hyperlink and don't need VBA at all - great! and so
much easier tooo.
Many thanks

> Bill
>
[quoted text clipped - 43 lines]
> >
> > Any help to solve these two problems would be greatly appreciated.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.