Task List Switch to VB Application Fails After ALT+F4 Close (81469)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q81469 SUMMARY
Selecting the Close command from the Control menu (ALT+F4) to quit a
Visual Basic application will not necessarily unload any other forms that
have been loaded. If other forms have been loaded but are not visible, the
application may still be running under Windows. If this is the case, the
Windows Task List will still contain the name of the application.
Attempting to switch to the application from the Windows Task List will be
unsuccessful.
If you want the application to terminate as a result of unloading a
particular form, place an End statement in the Form_Unload event
procedure for the form, or use the Unload statement to unload all forms
that are loaded. This will cause all forms (visible and invisible) to
be unloaded, and the application to terminate.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | KB81469 |
---|
|