TommyTwoPints
asked on
Turning off powerpoint screen updating
Hi experts can someone write me a function in vb.net that turns off powerpoint screen updating going on the basis that;
aP = new powerpoint.application
PP= powerpoint.presentation=aP .presentat ions.open( "C:\Test.p pt")
Cheers,
Tom
aP = new powerpoint.application
PP= powerpoint.presentation=aP
Cheers,
Tom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't understand what you mean by "screen updating"?
Bob
Bob
Hi Bob,
in excel you have an application.screenupdating which prevents the application from trying to refresh/repaint the screen while calculating cells or building charts.
this is different in other office apps and in powerpoint, not sure what it is in this case but if you build a slide dynamically in code then having the repainting going on could disturb the viewers,
the only way i can think of preventing this without the code above is using a sort of templates that are shown depending on the track through the presentation, but there could be a more simple way
Brian
in excel you have an application.screenupdating
this is different in other office apps and in powerpoint, not sure what it is in this case but if you build a slide dynamically in code then having the repainting going on could disturb the viewers,
the only way i can think of preventing this without the code above is using a sort of templates that are shown depending on the track through the presentation, but there could be a more simple way
Brian
I wasn't sure about that, so I didn't want to say anything until I was sure.
Here is the reference that I have:
PowerPoint VBA Equivalent of Application.ScreenUpdating
http://skp.mvps.org/ppt00033.htm
I haven't taken the time, nor had any requirement to figure it out for .NET.
Bob
Here is the reference that I have:
PowerPoint VBA Equivalent of Application.ScreenUpdating
http://skp.mvps.org/ppt00033.htm
I haven't taken the time, nor had any requirement to figure it out for .NET.
Bob
ASKER
Are you absolutely sure thats the only option?