Presentation always starts minimized

A

Andrew McGurk

I am generating a presentation in Visual foxPro and it has been running OK.

Recently it has started to always run minimized. I can't see what I changed
to cause this! Below is the code I use.
Is there a setting to force it to run maximised, other than the one I have
tried in this code.

* Setup slide show properties...
With PptPres.Slides.Range.SlideShowTransition
.EntryEffect = 513
.AdvanceOnTime = 1
.AdvanceTime = ThisForm.interval
EndWith

* Prepare and run slide-show!
With PptPres.SlideShowSettings
.ShowType = 3
.LoopUntilStopped = 1
.RangeType = 1
.AdvanceMode = 2
EndWith

PptApp.WindowState = 3

NoLoops = 1
DO WHILE NoLoops <= ThisForm.MaxLoops
PptPres.SlideShowSettings.Run &&& Run VFP-generated slide show
Wait window "Waiting for slide show to finish..." TIMEOUT (N *
ThisForm.Interval)
NoLoops = NoLoops + 1
ENDDO

TIA

Andrew McGurk
 
C

Chirag

Most probably, the slide show is being displayed on a second monitor. In
PowerPoint, select "Slide Show" | "Set Up Show..." menu item, ensure that
"Primary monitor" is selected in "Show on" box. An issue is that this
setting is not available to you through automation.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
A

Andrew McGurk

It shows on my monitor (I only have one connected), but minimized until I
click on it in the Task Bar.

Andrew McG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top