How can you check to see if your program is already running and switch to that instance without running the second time?

This is a wm6 question if this is not the right section I appologize.

ggg

wm6?

If Process.GetProcessesByName(Process.GetCurrentProcess.ProcessName).Length > 1 Then
     MsgBox("Already Running")
     End
End If
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.