borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Trapping Wheel Mouse Roll Event)Next Topic (ClientCreAPI.dll not found) New Topic New Poll Post Reply
AndreaVB Forum : API : How to Know If I have An Instance of My Program Running Solved Topic
Poster Message
matt_1ca
Level: Scholar

Registered: 27-03-2005
Posts: 42

icon How to Know If I have An Instance of My Program Running

I am trying to limit the number of running instance of my program to just one -- but have no idea how to do it.

I've written  a VB program that controls AutoCAD through automation and can be called from either inside or outside AutoCAD and my problem is that some users are careless and tend to call the program like three or four times creating that many  instances of my  program.

To some users this is starting to get annoying and I would really appreciate is someone can give me a clue so that my program will stop doing that.

Thank you so much for all the kind help you  can give.

Matt

27-03-2005 at 03:14 PM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: How to Know If I have An Instance of My Program Running

Have a look here

http://www.andreavb.com/forum/viewtopic.php?TopicID=4592&page=0#15536

Steve  

27-03-2005 at 03:26 PM
View Profile Send Email to User Show All Posts | Quote Reply
matt_1ca
Level: Scholar

Registered: 27-03-2005
Posts: 42
icon Re: How to Know If I have An Instance of My Program Running

Thanks Steve,

  Straightforward and powerful code!!


Matt

27-03-2005 at 03:49 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : How to Know If I have An Instance of My Program Running Solved Topic
Previous Topic (Trapping Wheel Mouse Roll Event)Next Topic (ClientCreAPI.dll not found) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder