Microsoft KB Archive/149328

= FIX: Selecting Invisible Tab Can Cause GPF with SSTab Control =

Article ID: 149328

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q149328



SYMPTOMS
With the SSTab control, switching to a tab that has been previously made invisible can cause application errors or GPFs. In testing these, exceptions were raised in both TABCTL16.OCX and TABCTL32.OCX at these addresses:   TABCTL16.OCX   0001:00004D88 TABCTL32.OCX  0137:0578B4E5 This problem may also manifest itself at other addresses on different configurations.



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 6.0.



Steps to Reproduce
 Start Visual Basic 4.0. Form1 is created by default. Add a single SSTab control to the form.  Add this code to the Form_Load event of Form1: Private Sub Form_Load SSTab1.TabVisible(0) = False SSTab1.Tab = 0 End Sub  Press F5 or select Start from the Run menu to run the application. An application error or GPF will occur before the form finishes loading. This problem also occurs if an EXE is made and run.

Additional query words: kbVBp400bug kbVBp600fix kbVBp kbdsd kbDSupport general protection fault gp-f kbCtrl

Keywords: kbbug kbfix kbvbp600fix KB149328

-

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

© Microsoft Corporation. All rights reserved.