K
kimkom
Hi,
Currently I am using the following macro to open a presentation in Kiosk
mode from within another 'Main' presentation:
Sub LaunchInKioskMode(oSh As Shape)
Dim oPres As Presentation
Dim sPresName As String
sPresName = oSh.AlternativeText
If Len(sPresName) > 0 Then
Set oPres = Presentations.Open(sPresName, , False, False)
End If
With oPres.SlideShowSettings
.ShowType = ppShowTypeKiosk ' or ppShowTypeSpeaker etc
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With
End Sub
The code was graciously provided by another member of the forums and works
fine but I am running into an issue with 'Read only' mode.
The problem is that my project is based on a network and if more than one
user tries to open the same presentation via the above method the linked
presentation will not open for the second user - nothing happens.
In the line:
Set oPres = Presentations.Open(sPresName, , False, False)
I can't specify True or False for the Read only variable because it may
already be open by another user, or it may not.
Any advice please anyone?
Thanks,
Michael
Currently I am using the following macro to open a presentation in Kiosk
mode from within another 'Main' presentation:
Sub LaunchInKioskMode(oSh As Shape)
Dim oPres As Presentation
Dim sPresName As String
sPresName = oSh.AlternativeText
If Len(sPresName) > 0 Then
Set oPres = Presentations.Open(sPresName, , False, False)
End If
With oPres.SlideShowSettings
.ShowType = ppShowTypeKiosk ' or ppShowTypeSpeaker etc
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With
End Sub
The code was graciously provided by another member of the forums and works
fine but I am running into an issue with 'Read only' mode.
The problem is that my project is based on a network and if more than one
user tries to open the same presentation via the above method the linked
presentation will not open for the second user - nothing happens.
In the line:
Set oPres = Presentations.Open(sPresName, , False, False)
I can't specify True or False for the Read only variable because it may
already be open by another user, or it may not.
Any advice please anyone?
Thanks,
Michael