Restric single instance of application

how can I restrict the user to have only one unstance of application running on his desk top. I am using VB 5.0
monalisaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
anthonycConnect With a Mentor Commented:
make SUB MAIN  your startup-procedure then

if app.previnstance then
  msgbox "I'm running already"
  end
end if
0
 
monalisaAuthor Commented:
thank you
0
 
monalisaAuthor Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.