Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot quit visual Foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01649043
Message ID:
01649048
Views:
66
>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

Try adding

on shutdown
clear all

before quit.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform