>>Hi,
>>
>>I created a login screen and allow only three chances to successfully login otherwise the program will terminate. This is what I have on the login button on the screen.
>>
>>IF nCount > 3 THEN
>> =MESSAGEBOX("Error Message goes here", 48, "Login Failed" )
>> ThisForm.Release
>> ON SHUTDOWN
>> QUIT
>>ENDIF
>>
>>And I keep on getting error "Cannot Quit Visual FoxPro" and I have no idea why. Any help or suggestion is appreciated.
>>
>>Steve
>
>You should call: ON SHUTDOWN Do MyQuitapp
>'MyQuitApp' is system procedure which will include CLEAR EVENTS.
Hi Edward,
I tried your tips above. It works fine when I am in the debug mode, but when I compiled into an executable. It gave me the same error message "Cannot Quit Visual FoxPro". Is there are another way to solve this problem ? Thanks again.
P.S. I am using Visual FoxPro 6.0
Précédent
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