----------------------------------------------------------------
Function PrevInstance() As Boolean
Try
Return
(UBound(Diagnostics.Process.GetProcessesByName(Dia gnostics.Process.GetCurrentProcess.ProcessName))
0)Catch ex As Exception
Return False
End Try
End Function
--------------------------------------------------
When I run this program i get en exeption error from JIT becourse i don't
have some rights on that pc. How can I trap this
Jan