Activate an App by a Partial Window Title
Version Compatibility: Visual Basic 6
This example solves this problem by allowing you to pass a partial window title. The first application the system finds that contains the string you pass will be activated.
Because the AddressOf operator is used, you must put all the code (declarations and source) into a .bas module.
Instructions: Copy the declarations and code below and paste directly into your VB project.