matt_1ca Level: Scholar
 Registered: 27-03-2005 Posts: 42
|
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
|