Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify form as exe
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00882447
Message ID:
00882596
Views:
14
>Hi, Is there a way to include the modify form command in an exe. I would like to be able to
>debug a form on a computer without VFP installed.
>Thanks
>Steve Elster

To add, the way I do this now (as opposed to placing WAIT WINDOWS everywhere long ago), is I've added to my error handler a "silent error-email to System Admins" with ON ERROR launching an application object method, which, after a bit of code additions, includes all kinds of useful info on a crash. It also writes all this info to a log-table. Such as userID, current object, current ALIAS() - generally a whole bunch of data on the error, enough to locate and solve it. It almost always works fine (except when a network drop occurs), as ON ERROR nicely pauses at an error, allowing you do do all kinds of things, even send out emails, before the final crash occurs.

The only slight nuisance is that without vfp running, I don't usually capture the line numbers of the error in modern vfp apps (it shows up as 0) - but you do get the first few words of the error line with MESSAGE(1), so you can locate it almost always.

This email/table error-info capturing feature has enabled me to solve almost every single difficult/non-reproducable errors in my user-run EXEs. A little work to add this feature, but not really very much. No work at all, relatively, compared to the huge benefits.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform