Application preventing more than one instance from running

 

'Description: Prevents than one instance of an application from running

'Place the following code in a Form_Load() or Sub Main()

If App.PrevInstance = True Then
Unload Me

 

Back

Index

Return to home page