bugs >> "Run-time error '50003': Unexpected error"

by Q29ybmVsaXVz » Tue, 29 Nov 2005 04:27:06 GMT

Starting an VB 6 compiled application on some computers causes the following
error:
"Run-time error '50003': Unexpected error".
The first form is loaded correctly. Then somewhere in the unloading of the
first form and the loading of the second one, the program crashes...
I tried to following steps:
1. Installing the newest VB 6 Runtimes - no success
2. Trying to catch the error with "on error resume next" - no success, the
application just disappears

On some other pages, I found out that sometimes this happens when gifs are
loaded. But I do not load any gifs. Only jpegs.

Does any one have an idea whats happening here? I would be very happy if
this annoying bug disappears :)

Thanks a lot.
Best wishes
Cornelius


bugs >> "Run-time error '50003': Unexpected error"

by Kevin Provance » Tue, 29 Nov 2005 04:46:46 GMT


I had this problem once before, but it was literally years ago. It involved
images as well. It had something to do with the image being invalid and
it's colour depth. I wish I could remember more.

It seems that it had something to do with those images not rendering
properly with users running 32 bit color.

My suggestion: Change the colour mode on your computer to different
settings and see if the error still occurs. it may be as simple as changing
the colour depth of your images...but this is just a guess based on what
happened to me back in 1997 or so.

- Kev









bugs >> "Run-time error '50003': Unexpected error"

by Q29ybmVsaXVz » Tue, 29 Nov 2005 05:25:06 GMT

Hi Kevin,

you were right. It's just the icon of a form that lets crash the whole
application... just mad...
thanks a lot.







"Run-time error '50003': Unexpected error"

by Kevin Provance » Tue, 29 Nov 2005 07:40:42 GMT

Glad I could help you out there bud. Post anytime...and keep on coding!
<g>

- Kev











RE: "Run-time error '50003': Unexpected error"

by YWppdGggIGt1bWFyIHBpbGxhaQ » Mon, 15 Sep 2008 21:10:01 GMT






Hi

u are using any .dsr files in the project pls let me know



"Run-time error '50003': Unexpected error"

by TWlrZQ » Fri, 19 Dec 2008 09:45:01 GMT

Kevin --

I couldn't believe my problem was as simple as you suggested in your post
three years ago, so I first tried re-registering OCX files. That didn't work
but then I just tried changing from 16 color to 32 color and viola! Exactly
as you said.
Thanks!

Mike




"Run-time error '50003': Unexpected error"

by MikeD » Fri, 19 Dec 2008 10:26:02 GMT





Except that you started a new thread (or it's been long enough that the thread has dropped from the server) and you quoted nothing. You're reply has no context whatsoever...so nobody has a clue what you're talking about.

--
Mike



"Run-time error '50003': Unexpected error"

by VG9tbXkgVmluc29u » Wed, 14 Jan 2009 20:32:00 GMT

sorry dudes, this wan't my problem.

Any other ideas for me?


"Run-time error '50003': Unexpected error"

by C Kevin Provance » Fri, 23 Jan 2009 08:35:04 GMT

I remember this actually. Glad it worked out for you. It took me forever
to track that bug back in the day. ;-)



| Kevin --
|
| I couldn't believe my problem was as simple as you suggested in your post
| three years ago, so I first tried re-registering OCX files. That didn't
work
| but then I just tried changing from 16 color to 32 color and viola!
Exactly
| as you said.
| Thanks!
|
| Mike
|
|




RE: "Run-time error '50003': Unexpected error"

by S2lt » Wed, 24 Mar 2010 05:11:01 GMT






I am having the same problem with CR9 reports. And yes I am using .dsr
files.Can you point me in the right direction for a cure?

Thanks
Kim


Similar Threads

1. Run-time error '50003': Unexpected error - Visual Basic/VB

2. Run-time error ,50003' - Unexpected error

Hello,

I mave massive problems with the the following error when I start my 
software. And it must be solved by the installation somehow.

"Run-time error ,50003' - Unexpected error"

I read that this might be caused by the usage of the common controls and the 
problem with the linked version and the installed version on the system.
Therefore I have tried to force my installation to update all necessary ocx 
files (also because I always use the latest version), but this did not help.

Using remote desktop on a PC this error always appears. On some clients the 
error always appears when the software is started.

How can this be solved?!!

I guess it's a standard problem with VB programms and the corresponding 
installation of the controls, dlls and so on.
But didn't find a reliable solution.

Please help!

Best regards
Jonas