CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    13

    trap the line of error ?

    how can i trap in which (line & column) of module-class-form-.... has the line occured

    e.g msgbox "Error on " & err.mod & err.desrc & what?

    thnks


  2. #2
    Join Date
    Feb 2000
    Location
    Ireland
    Posts
    808

    Re: trap the line of error ?

    The only way that I know is to use line numbers in your project which if it is a big project could be a real pain. I use Numega Failsafe personally which will do all this for you but it's expensive. If you have line numbers in your project then you can use VBA.Erl to get the line the error occured on.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured