Microsoft Visual Basic Unexpected Error 50001

  1. Microsoft Visual Basic Unexpected Error 50001
  2. Microsoft Visual Basic For Applications Unexpected Error 50001
Thanks to all the replies and previous post about the elusive Error 50003

Status This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site. Enter '/Library/Containers' and press Go (Return key). Find the 'com.microsoft.excel' folders. Move those folders to the desktop. Restart the Mac to check the result. Test this issue in another account. (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice.

Microsoft visual basic unexpected error 50001
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, Microsoft
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!


> Help!
> I am trying to run my VB application on a Win95 machine, but get this
Error > error
> [Run-time error '50003' Unexpected Error]
> just before loading the first form. Using display messages debug, it

Microsoft Visual Basic Unexpected Error 50001

> displays the mesages just prior to loading the form, but not the first

Microsoft Visual Basic For Applications Unexpected Error 50001


> 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