ID: Q150205
The information in this article applies to:
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 .
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.
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article.
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.
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."
Additional query words:
Keywords : kbVBp400bug
Version : 4.00
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: November 11, 1998