Standard Error Handling


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Standard Error Handling

  1. #1
    James G Guest

    Standard Error Handling


    Does anyone have or know of a thrid party that supplies a error handling component
    that we could plug into a large VB application, rather than writng one from
    scratch.

    Should be able to cope with different levels of errror i.e. Informational,
    Warning, Critical Error etc and have a number of ways of viewing the errors
    i.e. Message Boxes, Log files, log table on database

    Appreciate any help

    James

  2. #2
    willy van den Driessche Guest

    Re: Standard Error Handling


    "James G" <JamesG@BTInternet.Com> wrote:
    >
    >Does anyone have or know of a thrid party that supplies a error handling

    component
    >that we could plug into a large VB application, rather than writng one from
    >scratch.
    >
    >Should be able to cope with different levels of errror i.e. Informational,
    >Warning, Critical Error etc and have a number of ways of viewing the errors
    >i.e. Message Boxes, Log files, log table on database
    >
    >Appreciate any help
    >
    >James


    James,
    I've done an attempt at
    http://users.skynet.be/wvdd2/Logging/logging.html

    we actually use a variation of it in a quite large application. You're forced
    to call the logging yourself, although it would prove rather easy to automagically
    add it to your sources using an addin.

    If you want some commercial software, Numega failsafe could be for you.
    You can choose among several "templates" which will modify your sourcecode.
    www.numega.com
    Willy.


  3. #3
    Jim Pragit Guest

    Re: Standard Error Handling


    Hi James,

    I've written a freeware error reporting DLL you can download from VB2theMax.com.
    It has a lot of features, including:

    - CallStack (shows the module and routine where the error occurs)
    - Automatic logging to text file
    - Screen shot of user's screen so you can see what the user was doing at
    the time of the error
    - Silent Mode
    - Tons of diagnostic information (error number, description, system configuration,
    memory usage, drive usage, etc....)

    Plus, if it doesn't do everything you want, the source code is available
    separately so you can modify it in any way you want. Here's the URL:

    http://www.vb2themax.com/FileBank.asp?PageID=FileBank

    It's about a third way down the page. A complete demo program and documentation
    is also provided. This way you can try it out before integrating it into
    your application(s).

    - Jim

    "James G" <JamesG@BTInternet.Com> wrote:
    >
    >Does anyone have or know of a thrid party that supplies a error handling

    component
    >that we could plug into a large VB application, rather than writng one from
    >scratch.
    >
    >Should be able to cope with different levels of errror i.e. Informational,
    >Warning, Critical Error etc and have a number of ways of viewing the errors
    >i.e. Message Boxes, Log files, log table on database
    >
    >Appreciate any help
    >
    >James



  4. #4
    Michael Culley Guest

    Re: Standard Error Handling

    James,

    I have used Jims approach in a commercially released app to approx 300
    clients and it works very well. The client will email in the report and we
    can see the error number, description, the line it occurred on and the
    routine that it is in. It also gives the app version plus some other info,
    but that is all we really need. From there it is very easy to fix the bug.

    I wrote an addin to go with it that adds/removes the error handling code and
    adds/removes the line numbering. It belongs to the company I work for but if
    you are interested I can ask if it can be distibuted.

    --
    Michael Culley
    www.vbdotcom.com


    "Jim Pragit" <NoSpam@NoSpam.com> wrote in message
    news:3bfe68f8$1@147.208.176.211...
    >
    > Hi James,
    >
    > I've written a freeware error reporting DLL you can download from

    VB2theMax.com.
    > It has a lot of features, including:
    >
    > - CallStack (shows the module and routine where the error occurs)
    > - Automatic logging to text file
    > - Screen shot of user's screen so you can see what the user was doing at
    > the time of the error
    > - Silent Mode
    > - Tons of diagnostic information (error number, description, system

    configuration,
    > memory usage, drive usage, etc....)
    >
    > Plus, if it doesn't do everything you want, the source code is available
    > separately so you can modify it in any way you want. Here's the URL:
    >
    > http://www.vb2themax.com/FileBank.asp?PageID=FileBank
    >
    > It's about a third way down the page. A complete demo program and

    documentation
    > is also provided. This way you can try it out before integrating it into
    > your application(s).
    >
    > - Jim
    >
    > "James G" <JamesG@BTInternet.Com> wrote:
    > >
    > >Does anyone have or know of a thrid party that supplies a error handling

    > component
    > >that we could plug into a large VB application, rather than writng one

    from
    > >scratch.
    > >
    > >Should be able to cope with different levels of errror i.e.

    Informational,
    > >Warning, Critical Error etc and have a number of ways of viewing the

    errors
    > >i.e. Message Boxes, Log files, log table on database
    > >
    > >Appreciate any help
    > >
    > >James

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center