FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WINDEV (current version), in English
single instance - starting executable - WD14
Dec., 29th 2009 at 10:06 PM
Arie Mars
<gu...st@news.pcsoft.fr>

Message 1/2
single instance - starting executable - WD14

Hi,
WD let's you create an EXE with the option for single/multiple running instances.
Now I need this for some users, but not for all, for a certain executable.
So, is it possible to control this functionality by programming?


Dec., 30th 2009 at 06:46 AM
Carlo Hermus
<gu...st@news.pcsoft.fr>

Message 2/2
Re: single instance - starting executable - WD14

Arie,
I did this a while back with v11, tested it with V14 and it still works. I hope this helps.
IF ExeRunning() > 1 THEN
NextTitle("Shared TimeSheet")
Error("Shared TimeSheet is al actief.")
EndProgram()
END