Solved

Error 50003 while not using a GIF

Posted on 1998-06-05
2
180 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

708 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now