Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    controll loop.. (2000 sr 1)

    there is two line of code line1 and line2, for you wath is the line corret with "Doevents" or without?

    line1
    Do while Sess0.Screen.OIA.XStatus <> 0 'Will wait until the "x status" is gone
    Doevents
    Loop

    line2
    Do while Sess0.Screen.OIA.XStatus <> 0 'Will wait until the "x status" is gone
    Loop

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: controll loop.. (2000 sr 1)

    You should use the first one. The DoEvents instruction gives other processes a chance to perform their tasks.

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: controll loop.. (2000 sr 1)

    Tks.

Posting Permissions

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