New topic: Check If Apllication Already Runs
<http://forums.realsoftware.com/viewtopic.php?t=7004> Page 1 of 1 [ 6 posts ] Previous topic | Next topic Author Message herold Post subject: Check If Apllication Already RunsPosted: Wed Aug 23, 2006 10:42 pm Joined: Thu Mar 23, 2006 12:07 am Posts: 263 How can I check if my application already runs, to avoid the user start it a second time? Top Aaron Ballman Post subject: Posted: Wed Aug 23, 2006 11:03 pm Joined: Wed Sep 28, 2005 8:39 am Posts: 9341 Location: St Augusta, MN Search the forums, you'll run across this question many times. The answer is, use a Mutex. http://ramblings.aaronballman.com/?p=431 http://ramblings.aaronballman.com/?p=432 Top Corbin D Post subject: Posted: Thu Aug 24, 2006 1:15 am Joined: Sun Nov 13, 2005 5:48 pm Posts: 1073 Location: Gone man...gone. Aaron Ballman wrote:Search the forums, you'll run across this question many times. The answer is, use a Mutex. http://ramblings.aaronballman.com/?p=431 http://ramblings.aaronballman.com/?p=432 Aaron, is there any chance we'll see a 'convenience class' that basically does the same thing as VB 6's App.PreviousInstance someday? Using the Mutex class isn't that hard once you do it a couple of times, but a lot of people from the VB 6 world are used to the quick and easy App.PreviousInstance. _________________ God bless and thanks to my friends and fellow RB'ers for the good times! Top herold Post subject: Posted: Thu Aug 24, 2006 1:20 am Joined: Thu Mar 23, 2006 12:07 am Posts: 263 Thank you Aaron that works great. Top Aaron Ballman Post subject: Posted: Thu Aug 24, 2006 7:42 am Joined: Wed Sep 28, 2005 8:39 am Posts: 9341 Location: St Augusta, MN Corbin D wrote:Aaron, is there any chance we'll see a 'convenience class' that basically does the same thing as VB 6's App.PreviousInstance someday? Certainly, assuming it gets requested (which I don't think I've ever seen before). It's a reasonable request. Top simulanics Post subject: Re: Check If Apllication Already RunsPosted: Mon Oct 08, 2012 1:35 pm Joined: Sun Aug 12, 2007 10:10 am Posts: 736 Location: Boiling Springs, SC blogs no longer exist... _________________ Matthew A. Combatti Real Studio 2011 r4.3 Visit Real Studio Developer's Spot! Systems: Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/ Windows Server 2011/CentOS 5.4 /ReactOS/SimOS ~All REAL Compatible~ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 6 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
