Microsoft KB Archive/150205

= BUG: Desaware Animated Button Gives General Protection Fault =

Article ID: 150205

Article Last Modified on 1/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition

-



This article was previously published under Q150205



SYMPTOMS
Setting the CCBFileLoad property or the CCBFileSave property of the Desaware Animated control to an empty string causes a General Protection Fault in the 16-bit version of Microsoft Visual Basic.



RESOLUTION
Do not set the CCBFileLoad or CCBFileSave property to an empty string, because that is an invalid use of this property and has no meaning.



STATUS
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
This problem is only exhibited in the 16-bit version of Microsoft Visual Basic. In the 32-bit version, the control correctly gives an Error message if CCBFileLoad or CCBFileSave are set to an empty string.

Steps to Reproduce Problem
 Start a new project in Visual Basic. Form1 is created by default. If the Desaware Animated Button is not in the Toolbox, from the Tools menu, select Custom Controls. Place the control onto Form1.  In the Form_Load event for Form1, place the following code: Private Sub Form_Load Dim s As String AniPushButton1.CCBfileLoad = s     End Sub  Run the project by pressing F5. A General Protection Fault appears as the Form is loaded.

In one test, the message after the steps above was:

"VB caused a General Protection Fault in module ANIBTN16.OCX at 0002:A20F. Choose Close. VB will close."

Keywords: kbbug KB150205

-

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

© Microsoft Corporation. All rights reserved.