BUG: StillExecuting Is True After Async Execution Completes

Last reviewed: June 2, 1997
Article ID: Q168208
The information in this article applies to:
  • Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0

SYMPTOMS

The StillExecuting property of a Connection or a QueryDef object will incorrectly remain True even after successfully completing an asynchronous operation. This does not occur with Recordset objects.

RESOLUTION

While the StillExecuting property of the Connection and QueryDef objects will incorrectly return a True the first time it is read after the asynchronous operation has completed, further tests of the StillExecuting property will return a False. Testing the StillExecuting property inside of a While loop will work. After the operation has completed, the While loop will run through one more cycle where StillExecuting will return a True, after which it will correctly return a False.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Visual Basic version 5.0. Microsoft is researching this problem and will post new information here as it becomes available.


Keywords : vb5all VBKBDB VBKBNet VBKBObj VBKBRDO
Version : 5.0
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.