The information in this article applies to:
SYMPTOMSLoading a GIF file that does not specifically contain an Image Object into Visual Basic 5.0 (for example, through the PictureBox control), generates the run-time error 50003: It is important to note that this error is somewhat of a "catch-all" error that can be generated under other circumstances completely unrelated to the use of GIF files. The purpose of this article is to provide details regarding one particular set of circumstances where this error may arise. CAUSEVisual Basic 5.0 does not support GIFs that include images that are contained within Application Blocks. The Image Object must be included in the GIF as a separate Image Object. RESOLUTIONUse one of the following methods to work around this problem:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. MORE INFORMATIONAs mentioned in the "Cause" section of this article, Visual Basic 5.0 does not support GIFs that include images which are contained within Application Blocks. The Image Object must be included in the GIF as a separate Image Object. This functionality currently exists in Microsoft Internet Explorer 4.0 as well as Visual Basic 6.0. Additional query words:
Keywords : kberrmsg kbVBp kbVBp500bug kbVBp600fix kbDSupport |
Last Reviewed: November 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |