ScreenUpdating

hi all,

I am nearly done writing an application (in vb.net) that uses interop for Microsoft Powerpoint, and the problem is that when I write to the slide, I don't want the user to see those updates. I know in vba, one would write 'Application.ScreenUpdating = false', however screenupdating is not found under the application. I have searched fruitlessly through other articles for a simple solution, but they seem to be geared towards excel. Can anyone help me Thanks in advance

 

Myron



Answer this question

ScreenUpdating

  • DroopyPawn

    Hi,

    Why not hide powerpoint until your code has finished and then display it.



  • Doogshnooglis

    Would minimising the Active Window achieve what you want to do for the time being

    Application.ActiveWindow.WindowState = ppWindowMinimized

    ChasAA


  • IrisFresco

    thanks for your reply. The problem with that is you can't change the visiblity of the powerpoint without getting an error since it's working with "active" windows.
  • MichaelEaton

    ChasAA:

    Thanks for the reply. I had already known that one, but it still takes time to minimize. Because the user will be generating a theoretically limitless number of powerpoints, the minimal time that it shows up becomes annoying.

    Myron


  • ScreenUpdating