Quote:
Originally Posted by JScones
Sorry if I'm outta line here D_T.
|
It's kinda difficult to get "
outta line" with me:rotfl: I've been married to the same woman for 30 years, I'm used to "
suggested behavior".
No worries, m8, you make a good point.
Seriously, that is the best way to approach it, I believe. .NET is probably much better at checking for only a single instance than I am. If I wrote the code, it would probably look a lot like this:
Code:
Someone clicked on me, it's time to go to work.
Ok, only supposed to be one of me running, let's check
Am I running?
Yes, I am.
Ooops, I'm running already, there's only supposed to be one of me
Sorry, I gotta quit running, Mr. User
See ya