BUG: Form with Toolbar Does Not Shut Down Under Windows NT 4.0

Last reviewed: November 1, 1996
Article ID: Q158208
The information in this article applies to:
  • Microsoft Visual Basic Enterprise Edition for Windows, version 4.0 on the following platform: x86
  • Microsoft Windows NT Server, version 4.0
  • Microsoft Windows NT Workstation, version 4.0

SYMPTOMS

A Visual Basic 4.0 program containing a standard Visual Basic 4.0 Toolbar control on a form and running on Windows NT 4.0 hangs during Windows NT shut down.

The following message is displayed when you attempt to shut down Windows NT while your application containing the Toolbar control is still running:

   The Windows application cannot respond to the End Task
   request. It may be busy, waiting for a response from you, or it
   may have stopped executing.

   - Press Cancel to cancel and return to Windows NT.

   - Press End Task to close this application immediately. You
     will lose any unsaved information in this application.

   - Press Wait to give application 20 seconds to finish what it
     is doing and then try to close the application again.

STATUS

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

MORE INFORMATION

Steps to Reproduce Problem

  1. Start 32-bit Visual Basic 4.0 or, if it is already running, click New Project on the File menu.

  2. Add a Toolbar control to Form1.

  3. On the File menu, click Make EXE to make an executable file out of your project. Close Visual Basic.

  4. Start the executable file created in the previous step. On the Windows Start button, click Shutdown, and then click Restart. After a few seconds, the following message appears:

    The Windows application cannot respond to the End Task request. It may be busy, waiting for a response from you, or it may have stopped executing.

    - Press Cancel to cancel and return to Windows NT.

    - Press End Task to close this application immediately. You

         will lose any unsaved information in this application.
    

    - Press Wait to give application 20 seconds to finish what it

         is doing and then try to close the application again.
    

    Click Cancel to close the message.

  5. Click the Close button to close the Visual Basic program.


KBCategory: kbprg kbbuglist
KBSubcategory: PrgCtrlsStd
Additional reference words: 4.00 Toolbar kbdsd



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: November 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.