J
JR
Hi I use this code from ms to detrerm if my prog is already running.
----------------------------------------------------------------
Function PrevInstance() As Boolean
Try
Return
(UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName))
Catch ex As Exception
Return False
End Try
End Function
----------------------------------------------------------------
Function PrevInstance() As Boolean
Try
Return
(UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName))
Catch ex As Exception
Return False
End Try
End Function