Konu: Already open
Hello:
I my *main* program, I have ...
ON ERROR DO AlreadyOpen
---
---
PROCEDURE AlreadyOpen
MESSAGEBOX('This application is already open. Click "OK" to close this window!',0,'ERROR MESSAGE')
CLEAR PROGRAM
CLOSE ALL
CLEAR ALL
QUIT
ENDIF
... in order to prevent opening a second version of an application and getting a VPF9 error message. But it does not work (a lot of problems). How do you really prevent a second version of an app to open?
Regards,
Hans L