Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB5 Runtime Error 50003

Posted on 1997-09-06
4
Medium Priority
?
567 Views
Last Modified: 2013-11-14
My VB5 app executes fine under Win95, under NT4 I get runtime error 50003. I cannot find any references to this error, what does it mean?

The VB5 setup wizard suggetes problems running my VB5 app under NT 4 unless is has service pack 2, why?

Thanks

PAJ
0
Comment
Question by:PAJ
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
dirtdart earned 200 total points
ID: 1434042
The setup wizard is correct.  Some of the files in NT4 pre SP2 releases will not support VB5.  However, once you apply SP2, there are still steps you must take.  When you run your setup program, you will be notified that some files are out of date and must be upgraded before proceeding with setup.  Let setup upgrade these files (they will not affect the performance of anything else on the machine).  Then shut down the computer and restart it.  Once this is done, your setup program will run fine and your program will install and run correctly.  I would also advise skipping SP2 and going directly to SP3, since SP2 is full of bugs.  Check the EULA, but you also might be able to include  the SP as part of the install feature.  Just add it into your setup directory, then when your setup program initalizes, use API calls (GetWindowsVersion) to determine system information and install the service pack as appropriate.  This information also pertains to NT3.51.  It must be running at least SP5.
0
 

Author Comment

by:PAJ
ID: 1434043
What about using InstallShield for the installation. Should I just inform users that they must have SP2/3 to run? If so which additional system files should I include in the InstallShield distribution?

Thanks again.

PAJ
0
 
LVL 5

Expert Comment

by:dirtdart
ID: 1434044
I haven't had very much experience with InstallShield, but I would guess that it's not quite as flexible as the VB5 setup wiz as far as customizing.  My suggestion would be to either include a note about SP2/3 in your release notes or maybe create a small customized setup program preferably with C.  All you would have to do is reaname the install shield program to setup2.exe or install.exe or something like that.  Then  create a very small C program that simply checks the operating system and informs the user to install SP2 or 3.  In this manner, you could avoid problems of a user trying to install without reading the release notes and causing you the additional headaches of service unneeded service calls.
0
 

Expert Comment

by:iaj
ID: 1434045
See Microsoft's KB Article Q176438 about a bug :
"...Loading a GIF file that does not specifically contain an Image Object into Visual Basic (via the PictureBox control for example), generates the run- time error 50003...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…
Suggested Courses

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