Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a form from within error method.
Message
 
 
To
20/11/2001 12:11:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00583921
Message ID:
00584165
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform