Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program already running
Message
From
03/12/2002 05:04:38
 
 
To
03/12/2002 05:00:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728906
Message ID:
00728916
Views:
10
>Hi,
>
>You can on starting the program open a file in exclusive mode.
>The next round when the program is run again, it will not be able
>to open it and prompt user with the message.
>
>Else you can look into win API, FindWindow() to check that your
>application is running and exit.
>
>HTH
>
>>hi, all
>>
>>does anyone know, how to lock program so when when user click twice..program will be send message "already running'...can we doit ????
>>
>>Thank's
>>
>>Regard
>>Wahyu

I create a table in which I store the program name, the Datetime(), the Network station from which the program is running and the User ID of the one who is running the program, and I refresh the record by a timer control.
Previous
Reply
Map
View

Click here to load this message in the networking platform