Error Handling

Results 1 to 6 of 6

Thread: Error Handling

  1. #1
    Nath Guest

    Default Error Handling

    I would like to incorporate Error handling (as we do in Visual Basic or in access) even in ASP. Can we do that.<BR><BR>If so is there any code which helps as a sample.<BR><BR>Thank You<BR>Nath

  2. #2
    Alphabet Guest

    Default Do you think before you post?

    Do you think before you post, do you take even five seconds to look into the doc before posting?<BR><BR><BR><BR><BR><BR>

  3. #3
    Nath Guest

    Default RE: Do you think before you post?

    Thats rude Alphabet. If you do not want to answer Pls do not. Its your wish. In the programming world there are different levels of programmers who needs some ideas and they would like to ask even basic questions.<BR><BR>Nath

  4. #4
    alf Guest

    Default RE: Do you think before you post?

    Nath,<BR><BR>You would probably get a better response if you posted in the ASP forum, not advanced and I would try to be a little more clear when stating what your problem is.<BR><BR>later.

  5. #5
    Leungas Guest

    Default RE: Error Handling

    nath,<BR><BR>What you need is something like this...<BR><BR>function ErrorTracking()<BR> &#039The code to execute when an error is found<BR>end function<BR><BR>Now in each of the function that you may found an error:<BR><BR>you and the line<BR><BR>on error resume next<BR> &#039Some Code<BR> if Err.number &#060;&#062; 0 then<BR> ErrorTracking<BR> exit &#060;sub or function&#062;<BR> end if<BR> &#039the rest of the code<BR><BR>This will avoid errors to pop up without all the other pieces of the page<BR><BR><BR>

  6. #6
    Leungas Guest

    Default RE: Do you think before you post?

    Alph,<BR><BR>Well, that is true this is the advance board but there are some cases when some advance users still ask a bit &#039easier&#039 questions. <BR><BR>So don&#039t be too alarm about it

Posting Permissions

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