Search This Blog

Monday, March 10, 2014

AppActivate Visual Basic

VB.NET Functions > AppActivate

Activates an application that is already running.

Example:
Start and activate notepad

AppActivate(Shell("C:\Windows\System32\notepad.exe", AppWinStyle.NormalFocus))