Does any one know how to detect if an application is already running using VB 6.0. Or how can I prevent from running multiple
sessions of my applicaiton. Thank you
Printable View
Does any one know how to detect if an application is already running using VB 6.0. Or how can I prevent from running multiple
sessions of my applicaiton. Thank you
If App.PrevInstance = true then Exit Sub
Use this property of App object and this logic to exit with some message or without it.
HTH
Vlad
See http://www.freevbcode.com/ShowCode.Asp?ID=71 for a complete solution.