DOCUMENT:Q190039 07-AUG-1998 [vbwin] TITLE :BUG: VB Crashes When Deselecting Multi-selected Objects PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0; OPER/SYS:WINDOWS KEYWORDS:kbVBp600bug ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SYMPTOMS ======== If you multi-select three or more controls on a form using either the Ctrl key or Shift key and then deselect one of the controls with the Properties window closed in the integrated development environment (IDE), VB6.exe crashes. NOTE: This problem does not occur if the Properties window is open. RESOLUTION ========== To work around this problem, open the Properties window. You can open the Properties window by pressing the F4 key or clicking on the Properties Window in the View menu in the VB6 IDE. STATUS ====== Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- 1. Start a Standard EXE project in Visual Basic. Form1 is created by default. 2. On Form1 place a TextBox (Text1), a CommandButton (Command1), and an OptionButton (Option1). (It does not matter which three controls you use.) 3. Close the Properties window by either clicking the "X" in the upper-right corner of the Properties window, or right-clicking the Properties window and select Hide. 4. Hold down the Shift key and select the three controls with the mouse. 5. Deselect one of the controls by holding the Shift key down and clicking on one of the selected controls. This will produce a crash in VB6.exe. Typical error messages that might appear are: An application error has occurred and an application error log is being Generated. This program has performed an illegal operation and will be shut down. Additional query words: Exception Error Access violation IPF Invalid Page Fault GPF ====================================================================== Keywords : kbVBp600bug Version : WINDOWS:6.0; Platform : WINDOWS Issue type : kbbug Solution Type : kbpending ============================================================================= 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. Copyright Microsoft Corporation 1998.