It has ben suggested that if, instead of killing the powerpoint instance, ifOriginally Posted by Killian
i just set it to Nothing, the instance of powerpoint will go away if there
are no other powerpoint sessions.
I'll try this later.
I would feel comfortable relying on this only if I saw documentation of this
behavior, and for powerpoint 97, 2000, 2002 and 2003.
Not sure that behavior would work automating via VB .NET, but I have no plans to use the code in .NET.
The last resort would be to lock the desktop momentarily. If the presentation count is 1, th kill the critter, otherwise let it live. This ASSuMEs that there is a different instance of powerpoint on each desktop on a multi-user system. Otherwise, kablooey!




Reply With Quote