Results 1 to 2 of 2

Thread: Skip a line if it gets stuck

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    1

    Skip a line if it gets stuck

    Hi,

    I am using VB script to automize an optimization, the problem is that it sometimes get stuck when running the analysis. My question is if there is a way for the code to "move on" after 15 minutes if it gets stuck on the same line?

    Best Regards
    Martin

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,543

    Re: Skip a line if it gets stuck

    you would need to know where it gets stuck, how to identify that it is stuck, and then write code to abort when the stuck condition is true for a given length of time.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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