Solved

Error 50003 while not using a GIF

Posted on 1998-06-05
2
187 Views
Last Modified: 2012-05-04
I have a VB 5.0 app that works on both Win 95 and Win NT systems.  At one remote client site they are getting this 50003 error.  I am not using a GIF with this program.  This client is installing on many computers.  If the client's machine is new then the program is fine, on the other hand if this clients computer has the VB 4.0 version of this app then we get this 50003 error.  The VB 4.0 version of this app was removed using the ADD/Remove feature from Control Panel.  The only thing that I can figure out is that there is some DLL or OCX hanging around.  I have tried to recreate there issue but cannot.  There operating system is Windows 95.  - Thanks
0
Comment
Question by:swordman
2 Comments
 
LVL 4

Accepted Solution

by:
zsi earned 100 total points
ID: 1462612
I had the same exact problem and it drove me nuts for weeks.  I fixed it by installing OC30.DLL.
This problem was actually be caused by a control that I was using from Visual Components.  It would occur when the form was loaded.

Although the MSDN claims that error 50003 is caused by an invalid gif header, this was the actual source of the problem.  Note that it may not be a Visual Component control that is causing the problem for you, but another one.

Let me know if it works for you.

0
 
LVL 2

Expert Comment

by:woka
ID: 1462613
This can be a Furfy (aussie term for something that isn't what it appears to be).  It can be caused by COM when the registration information for an object (usually a VB .EXE automation server) is for a different version of the file on disk, but other component are expecting the previous version.  It happens when you don't update an automation server correctly.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question