BUG: Desaware Animated Button Gives General Protection Fault (150205)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0

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

  1. 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.
  2. In the Form_Load event for Form1, place the following code:
             Private Sub Form_Load()
          Dim s As String
          AniPushButton1.CCBfileLoad = s
          End Sub
    						
  3. 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."

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:kbBug KB150205