FIX: GPF When Pasting 8 Bit .DIB File into Anibutton Control

ID: Q94168


The information in this article applies to:
  • Microsoft Visual Basic Standard Edition for Windows, version 2.0


SYMPTOMS

If you directly paste a 8 bit color .DIB picture from Paint Brush that comes with Windows, versions 3.0 or 3.1 into the AniButton.VBX control with the Standard Edition of Microsoft Visual Basic for Windows, version 2.0 you may receive a General Protection (GP) fault when using Windows, version 3.1 or an Unrecoverable Application Error (UAE) when using Windows, version 3.0. A GP fault or UAE does not occur if you load the .DIB picture through the Picture property in design mode. Instead, an "Invalid format" error is returned.


STATUS

Microsoft has confirmed this to be a problem in the Standard Edition of Microsoft Visual Basic for Windows, version 2.0. This problem was corrected in Microsoft Visual Basic version 3.0 for Windows.


MORE INFORMATION

The following steps can be used to reproduce this problem:

  1. Start Paint Brush (Pbrush.EXE) from the Windows subdirectory.


  2. Open and load a 8 bit color .DIB file into Paint Brush from the File menu.


  3. Click the upper right hand icon that looks like a pair or scissors to cut out the picture of the 8 bit color .DIB file. Cut out a copy of the picture.


  4. Select the Copy routine from the Edit menu to make a copy of the clipped area.


  5. Start VB.EXE.


  6. Select Add File... from the File menu to add the Anibutton.VBX control to the project.


  7. Place the Antibutton control on Form1.


  8. Press the F4 key to bring up the Properties Window. Select the Frame property and press the '...' button.


  9. Once the '...' button is pushed, the 'Select Frame' Window is displayed. Press the Paste key, and an UAE or GPF occurs.


Additional query words: buglist2.00 fixlist3.00 2.00 3.00

Keywords :
Version : WINDOWS:2.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 20, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.