Activate a Running Application by Process ID



Activates a running application using the process ID of the application.

'Assembly: System.dll
'Namespace: System
'Namespace: Microsoft.VisualBasic

Dim processID As Integer
'specify your application File name in place of SyntaxHelp
processID = Shell("SyntaxHelp", AppWinStyle.NormalFocus)

AppActivate(processID)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.