Solved

Error 50003 while not using a GIF

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 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