FIX: ParentControls.Count May Fail on Windows NT 4, Service Pack 4 (223104)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q223104 SYMPTOMS
Under Windows NT Service Pack 4, if a Usercontrol accesses the ParentControls.Count property and there are 32 or more controls on the form, including the Usercontrol and any controls on the Usercontrol, the Visual Basic app might crash.
NOTE: This bug does not occur on Windows NT 4.0 Service Pack 5 or on Windows 2000 machines.
CAUSE
This is caused by an error in Visual Basic's heap allocation mechanism.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio 6.0 Service Packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why 194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
REFERENCES
For additional information, please see the following articles in the Microsoft Knowledge Base: 195009 Application Access Violation or Hang After Applying SP4 219278 BUG: OLAP MDX Application Gives Application Error in VB IDE
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbBug kbfix kbVS600sp3fix KB223104 kbAudDeveloper |
---|
|