Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
How to run only one instance of application?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
SLee  
View profile  
 More options Dec 10 2005, 9:17 am
From: "SLee" <shiblee....@gmail.com>
Date: Sat, 10 Dec 2005 14:17:31 -0000
Local: Sat, Dec 10 2005 9:17 am
Subject: How to run only one instance of application?
Hello AutoIters,
What is the syntax or function by which I can know that there is
already an instance of my application running? Because I don't want to
run my application several times (at a time in one PC).

Shiblee


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sandel Perieanu  
View profile  
 More options Dec 10 2005, 9:28 am
From: Sandel Perieanu <psandu...@gmail.com>
Date: Sat, 10 Dec 2005 16:28:39 +0200
Local: Sat, Dec 10 2005 9:28 am
Subject: Re: How to run only one instance of application?

*#include "Misc.au3"
*#include "GuiConstants.au3"
*If _Singleton ("test\test", 1) = 0 Then
 MsgBox(0, "Warning", "An occurence of test is already running")
 Exit
EndIf
*$MAIN = GUICreate("", 200, 100, -1, -1)
GUISetState()
While 1
 $MSG = GUIGetMsg()
 If $MSG = $GUI_EVENT_CLOSE Then Exit 0
WEnd

On 12/10/05, SLee <shiblee....@gmail.com> wrote:

> Hello AutoIters,
> What is the syntax or function by which I can know that there is
> already an instance of my application running? Because I don't want to
> run my application several times (at a time in one PC).

> Shiblee

--
Tel: 0740101185

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SLee  
View profile  
 More options Dec 11 2005, 10:49 pm
From: SLee <shiblee....@gmail.com>
Date: Mon, 12 Dec 2005 09:49:43 +0600
Local: Sun, Dec 11 2005 10:49 pm
Subject: Re: How to run only one instance of application?

Dear Sandel,
Thank's for your help. I could not understand the "test\test" parameter.
what is the first test and what is the right test? one is my application and
one is a function? Please describe a little more. I saw the help  file even
and could not understand this.

Thanks again.

Shiblee

On 12/10/05, Sandel Perieanu <psandu...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sandel Perieanu  
View profile  
 More options Dec 12 2005, 1:42 am
From: Sandel Perieanu <psandu...@gmail.com>
Date: Mon, 12 Dec 2005 08:42:34 +0200
Local: Mon, Dec 12 2005 1:42 am
Subject: Re: How to run only one instance of application?

"test\test" = any string  -  must be unique in system

On 12/12/05, SLee <shiblee....@gmail.com> wrote:

--
Tel: 0740101185

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google