Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File does not exist Error on App exit
Message
De
27/01/2002 05:09:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00610521
Message ID:
00611217
Vues:
22
Only a couple of our users are reporting "File does not exist." errors when exiting our MM app. Has anyone come across this yet? I think it is coming from the reset method in the globalenvironment but I'm not sure. Unfortunately, the error manager is disabled before the reset is run.


Ask this users whether they have opened more than one form before trying to close the application. This error may come from trying to open a temp file, that another form has deleted or something else.
Ask them to make screenshots (using Ctrl-PrintScr) and pasting after that in Paint when this error comes up.
Another (and according to me better way) is to make you own ON ERROR handler that makes log of the ERROR(), MESSAGE(), SYS(2018) and the program nesting (call stack)

From the VFP help:
The program nesting is returned in the following short program example:
STORE 1 TO gnX
DO WHILE LEN(SYS(16,gnX)) != 0
   ? SYS(16,gnX)
   STORE gnX+1 TO gnX
ENDDO
You can also use third-party tools to make the screen-shots automatically.

Identifing error and making an reproducing pattern are the first steps to the problem solution!
Kind Regards
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform