Hi,
When I run my executable (AMS.exe) from one workstation it works OK.
When I run my application from a second workstation while the first workstation is still running it, I get "File access denied".
My "Splash" screen does not even appear!
Following is my code of the main.prg:
*************************************************
LOCAL llDeveloping
_SCREEN.Visible=.F.
_SCREEN.Left=-2000
DO MYSETALL
llDeveloping = .F.
IF llDeveloping
SET PATH TO "\VI\APPL\AMS\TABLES;\VI\APPL\AMS\SCX;\VI\APPL\VFP\CLASSES;\VI\APPL\VFP\PROGS"
SET DEFAULT TO "\VI\APPL\AMS"
ELSE
SET PATH TO "\\MONTREALOFFICE\AMS\TABLES;\\MONTREALOFFICE\AMS\SCX"
SET DEFAULT TO "\\MONTREALOFFICE\AMS"
ENDIF
_SCREEN.Visible=.T.
DO FORM frmSplash
READ EVENTS
****************************************************
MYSTEALL.PRG contains all my set configurations, inclusing SET EXCLUSIVE OFF and SET MULTILOCKS ON
frmSplash is just a times splash screen lasting for 5 seconds a the calling "DO FORM frmMENUMAIN", which is my main menu for the application.
Thanks in advance!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement