Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a form from within error method.
Message
 
 
À
20/11/2001 12:11:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00583921
Message ID:
00584165
Vues:
29
>Thanks alot, I'm getting on the right track now. On more question though.
>
>message(1) is supposed to return the sourece code that caused error. This works if I compile my program to an APP or run it from environment but if I compile it to EXE this does not work. Is this normal or should I be able to see the source code that cause the problem when running an EXE.
>
>Thanks for help

Mark,
I usually don't use Message(1). I use Program() and Lineno() and if I can't find the offending line of code from that, I need to llok for different work.

Because of this, I did a search here and found this thread along with several others. they all basically say the same thing. Message(1) can't be trusted.

Thread#397439

FWIW, the new AStackInfo() in VFP 7 works and returns the actual contents of the line if DebugInfo is included in the project.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform