Solved

Error 50003 while not using a GIF

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

688 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