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
Best Regards
Virusim