I don't know if I understand you correctly but if you want to check for a previous instance of your app use the following code in the Load event of your main form.
This works on both Win9x and WinNT.Code:Private Sub Form_Load() If App.PrevInstance = True Then 'a previous instance of this 'application is running End If End Sub
Good luck!




Reply With Quote