Check if Powerpoint is Running

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
The following snippet of code uses GetObject() to see if PowerPoint is running. If it returns "empty", it alerts the user, otherwise, it makes PowerPoint visible.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: