what is the better way to handle errors in VB6

前端 未结 7 706
再見小時候
再見小時候 2020-11-30 06:43

I have VB6 application , I want to put some good error handling finction in it which can tell me what was the error and exact place when it happened , can anyone suggest th

7条回答
  •  情深已故
    2020-11-30 07:16

    Yes, take Kris's advice and get MZTools.

    You can add line numbers to section off areas of complex procedures, which ERL will report in the error handler, to track down which area is causing the error.

    10
        ...group of statements
    20
        ...group of statements
    30
        ...and so on
    

提交回复
热议问题