General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only