Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining environment info when Error occurs
Message
From
05/03/2000 12:24:50
 
 
To
05/03/2000 11:53:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00341839
Message ID:
00341879
Views:
18
>>Tha above part works fine. What I'd also like to retrieve are all the open tables/cursors and all the memory variables and current application object properties when the error happens. Any ideas?
>
>Do a LIST MEMORY NOCONSOLE TO FILE and a LIST STRUCTURE NOCONSOLE TO FILE and then read the file with FileToStr(). As for the application object, you'll have to do that manually with AMembers()

Rather than LIST STRUCTURE, wouldn't LIST STATUS be more useful?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform