Microsoft KB Archive/158208

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

Article ID: 158208

Article Last Modified on 6/28/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Enterprise Edition, when used with:
 * the hardware: Intel x86
 * Microsoft Windows NT 4.0

-



This article was previously published under Q158208



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 bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Basic 5.0.



Steps to Reproduce Problem
 Start 32-bit Visual Basic 4.0 or, if it is already running, click New Project on the File menu. Add a Toolbar control to Form1. On the File menu, click Make EXE to make an executable file out of your project. Close Visual Basic. 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. Click the Close button to close the Visual Basic program.

Additional query words: Toolbar

Keywords: kbbug kbfix kbvbp500fix KB158208

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.