Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handler not working in EXE - VFP7
Message
De
03/03/2005 07:14:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Error Handler not working in EXE - VFP7
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00992339
Message ID:
00992339
Vues:
57
Hello!

I'm having a weird issue with my error handler in VFP 7. It works perfectly (logs the errors and sends me an email) while I'm running in APP mode and debugging, but it's completely ignored when running in EXE mode.

I've searched the internet and can't find a good reason or fix on why this would be happening. Hopefully it's not something I did or didn't do :)

I have this code in my main.prg

ON ERROR DO error2 WITH ;
ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO(1), DBF()

I've put in messageboxes to verify that I don't clear out the ON ERROR anywhere, and it doesn't. It doesn't even hit the error event in the form.

Any ideas?

Thanks!
"In three words I can sum up everything I've learned about life : it goes on." - R. Frost

Amanda Brown
Supervisor/Programmer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform