Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot quit visual Foxpro
Message
De
14/03/2017 13:41:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01649043
Message ID:
01649062
Vues:
56
J'aime (1)
>Hi
>
>I have a program which runs in a Windows 10 machine with the following code at the end of the program. The program runs every hour and usually takes about 20 minutes
>
>About twice a day it hangs up with a message "cannot quit visual Foxpro" Any ideas why?
>
>Colin
>
>
>
>IF (lcContentType = NULL ) THEN
> =MESSAGEBOX(loEmail.LastErrorText)
>wait window "err"
>
>ENDIF
>lnSuccess = loMailman.SendEmail(loEmail)
>eccmail = ""
>SET SAFETY on
>
>endif
>quit


I don't think it's relevant to your problem, but just a reminder that you don't need QUIT to terminate an executable and, in fact, it's premature termination. When the main program ends, the executable closes.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform