直接UNLOAD ME 不行吗?

解决方案 »

  1.   

    用 On error goto label 语句然后在后写出错误处理方法。
      

  2.   

    on error resume next
    ......................
    if Err.num<> 0 then
        unload me
        end
    end if
      

  3.   

    on error goto err
    ......................err: 
      unload me
      

  4.   

    end---------------------------------------------------------
    Montaque==Digitalboy==Houyongfeng==Monkey
      

  5.   

    end 顺便把整个工程给 over 了
    如果不想结束整个工程使用以下方法on error goto kk
    ....kk:
    if err.number<>0 then
       unload me
    end if
      

  6.   

    用on error goto 了。