Run-time error '50003' Unexpected Error 
Author Message
 Run-time error '50003' Unexpected Error

Help!
I am trying to run my VB application on a Win95 machine, but get this
error
    [Run-time error '50003'  Unexpected Error]
just before loading the first form.  Using display messages debug, it
displays the mesages just prior to loading the form, but not the first
message in the open form event.  (I am displaying message boxes because
the app runs fine on my NT development PC, but not on the user Win95
PC).

Overall, the app runs fine on an NT or Win98 machine, seems to be OK on
a Win95 with Office97.  But certainly does not run OK on a Win95 without
Office.

I've tried isolating missing DLL and OCX files to no avail.  Any other
ideas?  Also, after installing memory monitor the app ran OK, too.
Unfortunately the users can not have Office97 or other extraneous files
loaded.  I need to isolate the specific file incompatibility or
whatever.

Your help is much appreciated!  Please reply to my e-mail as well as the
group.

Jeff Bryant



Wed, 21 Mar 2001 03:00:00 GMT  
 Run-time error '50003' Unexpected Error
Check the DLL and OCX versions.
This error often arises when there are a version conflict,
e.g: You create and compile with x.dll ver 4.2 and the pc where the app is
tried to run has x.dll 4.1
(One way to check versions are:
Start winfile, find the file, hold down ALT-key and doubleclick or press
enter)

Hope this helps.
Regards, Asbjoern.

Quote:

>Help!
>I am trying to run my VB application on a Win95 machine, but get this
>error
>    [Run-time error '50003'  Unexpected Error]
>just before loading the first form.  Using display messages debug, it
>displays the mesages just prior to loading the form, but not the first
>message in the open form event.  (I am displaying message boxes because
>the app runs fine on my NT development PC, but not on the user Win95
>PC).

>Overall, the app runs fine on an NT or Win98 machine, seems to be OK on
>a Win95 with Office97.  But certainly does not run OK on a Win95 without
>Office.

>I've tried isolating missing DLL and OCX files to no avail.  Any other
>ideas?  Also, after installing memory monitor the app ran OK, too.
>Unfortunately the users can not have Office97 or other extraneous files
>loaded.  I need to isolate the specific file incompatibility or
>whatever.

>Your help is much appreciated!  Please reply to my e-mail as well as the
>group.

>Jeff Bryant




Thu, 22 Mar 2001 03:00:00 GMT  
 Run-time error '50003' Unexpected Error
Check to see if you're loading a picture from a file somewhere in your code.
If so, this is a known issue. To work around it, assign the picture to the
control or form at design time so that it is incorporated into the .frx.
That should clear up the problem.

Russ Evans

Quote:

>Help!
>I am trying to run my VB application on a Win95 machine, but get this
>error
>    [Run-time error '50003'  Unexpected Error]
>just before loading the first form.  Using display messages debug, it
>displays the mesages just prior to loading the form, but not the first
>message in the open form event.  (I am displaying message boxes because
>the app runs fine on my NT development PC, but not on the user Win95
>PC).

>Overall, the app runs fine on an NT or Win98 machine, seems to be OK on
>a Win95 with Office97.  But certainly does not run OK on a Win95 without
>Office.

>I've tried isolating missing DLL and OCX files to no avail.  Any other
>ideas?  Also, after installing memory monitor the app ran OK, too.
>Unfortunately the users can not have Office97 or other extraneous files
>loaded.  I need to isolate the specific file incompatibility or
>whatever.

>Your help is much appreciated!  Please reply to my e-mail as well as the
>group.

>Jeff Bryant




Fri, 23 Mar 2001 03:00:00 GMT  
 Run-time error '50003' Unexpected Error


Fri, 19 Jun 1992 00:00:00 GMT  
 Run-time error '50003' Unexpected Error
Thanks to all the replies and previous post about the elusive Error 50003
unexpected error.  We got this error while trying to load the first form of
the application, and it would hose up memory.  Worked fine on Win98 and NT,
and seemed to work OK on Win95 with Office97.

We tried all the ideas about comctl32.DLL, OCXs, GIFs (as described on the
microsoft web site for this error code).  Still did not work.

We were finally able to isolate it down to the form graphics (jpegs).  It
only happened on the test machines which had low end video cards, and we had
256 color jpeg graphics.  The reason Office97 made it work was that when it
runs the Office Assistant it loads DIBENG.DLL into memory.  Which as I
understand is a "device independent bitmap" graphics engine/driver.

Our solution was to save our graphics as DIB files, which when loaded
automatically loads the DIBENG.DLL and the graphics are automatically set
according to the video capability.

Thanks agian for all the great ideas!  We were really stumped and all your
ideas helped us to forge ahead and focus on some areas until we found the
culprit.  THANKS!

Quote:

> Help!
> I am trying to run my VB application on a Win95 machine, but get this
> error
>     [Run-time error '50003'  Unexpected Error]
> just before loading the first form.  Using display messages debug, it
> displays the mesages just prior to loading the form, but not the first
> message in the open form event.  (I am displaying message boxes because
> the app runs fine on my NT development PC, but not on the user Win95
> PC).

> Overall, the app runs fine on an NT or Win98 machine, seems to be OK on
> a Win95 with Office97.  But certainly does not run OK on a Win95 without
> Office.

> I've tried isolating missing DLL and OCX files to no avail.  Any other
> ideas?  Also, after installing memory monitor the app ran OK, too.
> Unfortunately the users can not have Office97 or other extraneous files
> loaded.  I need to isolate the specific file incompatibility or
> whatever.

> Your help is much appreciated!  Please reply to my e-mail as well as the
> group.

> Jeff Bryant




Fri, 23 Mar 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Run-time error '50003': Unexpected error

2. HELP! RUNTIME ERROR '50003' UNEXPECTED ERROR

3. Run-time error '50003'

4. Unexpected Error '50003'

5. 50003 'unexpected Error'

6. Unexpected Error '50003'

7. Unexpected error (runtime error 50003)

8. Runtime error '50003'

9. Runtime error '50003'

10. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

11. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

12. 50003 Unexpected error, totaly unexpected, but why?

 

 
Powered by phpBB® Forum Software