Activate Currently Running Instance

If App.PrevInstance Then
     AppActivate "MyApp Version 1.0"
     End
End If

 

This tip is reprinted from the VB Tips & Tricks Volume 1 book.


Discover more from dotNetTips.com

Subscribe to get the latest posts sent to your email.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.