Solved

Error 50003 while not using a GIF

Posted on 1998-06-05
2
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

733 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