On Error ....

Results 1 to 4 of 4

Thread: On Error ....

  1. #1
    New ASP Guest

    Default On Error ....

    Say I have a page - 500 Lines Code.<BR><BR>From 1 to 200 Line, I need to use "On error resume next".<BR>But I don&#039t want the "On error resume next" works after line 200.<BR>What should I do?<BR>Thanks!!<BR>

  2. #2
    Steve Cimino Guest

    Default RE: On Error ....

    Line 201<BR><BR>On Error GoTo 0<BR><BR>I&#039m not sure if this is valid VBScript, so go ahead and try it. If it&#039s not, I&#039ll look at something else.

  3. #3
    New ASP Guest

    Default RE: On Error .... I found it

    Add: On Error GoTo 0 right?

  4. #4
    New ASP Guest

    Default Thank you!!

    I will try it. It works in VB.

Posting Permissions

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