A
André Nogueira
Hi there guys
I want my program not to allow more than one instance per user.
Now I have this code
CODE
Dim Processos() As Process
Processos = Process.GetProcessesByName("Taskfind")
If Processos.Length > 1 Then
NotifyIcon1.Visible = False
End
End If
The problem is that if Fast User Switching is enabled on XP and one user is
running my program, all the other users of that machine can't run the
program.
What can I do to ensure that no other instance of my program is running, but
only on the current user?
Thank you in advance!
Andre Nogueira
I want my program not to allow more than one instance per user.
Now I have this code
CODE
Dim Processos() As Process
Processos = Process.GetProcessesByName("Taskfind")
If Processos.Length > 1 Then
NotifyIcon1.Visible = False
End
End If
The problem is that if Fast User Switching is enabled on XP and one user is
running my program, all the other users of that machine can't run the
program.
What can I do to ensure that no other instance of my program is running, but
only on the current user?
Thank you in advance!
Andre Nogueira