Tuesday, July 20, 2021

New ErrorHandler VFPX Project

I released a new project to VFPX today called ErrorHandler. It’s a highly configurable and customizable error handler for any VFP application. Implementing ErrorHandler is as simple as adding a few files to your project, adding one line of code to your application startup, and deploying a few files with your application (some of which, such as wwDotNetBridge, you may already be deploying).

ErrorHandler supports logging error information to a table, displaying an easy-to-understand dialog to the user (see image below, although you can replace that dialog with one of your choosing), notifying support staff about the error via email or support ticket, and recovering from the error (either continuing in the application but not returning to the method that caused the error or terminating the application).

errordialog

See the documentation included with the project for complete details on how to implement and customize ErrorHandler in your applications.

4 comments:

  1. Dear Doug Hennig,

    Good day,

    Thanks for the effort and contribution to VFP.

    Could you write a paper to show how to use the VFPX/ReportingApps. I cant find it inside the pack and dont know how to start using it.

    Best Regards,

    ReplyDelete
  2. The VFPX reporting apps are not something new; they are a replacement for the ones that come with VFP. So, see the VFP help file for information on how to use them.

    ReplyDelete
  3. Thank you.
    Great job!

    ReplyDelete
  4. Thanks a lot! ¡Muchas gracias!

    ReplyDelete