Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Find prior instance of EXE


'VB has a built-in method to detect a prior instance of an application
If App.PrevInstance Then
    'there is a copy of the program already running
End If