PRB: Workaround for Not Enough Memory to Load Tutorial Error

Last reviewed: June 21, 1995
Article ID: Q78000
The information in this article applies to:

- Standard and Professional Editions of Microsoft Visual Basic for

  Windows, versions 2.0 and 3.0
- Microsoft Visual Basic programming system for Windows, version 1.0

SYMPTOMS

Under any one of the conditions listed in the Cause section, If you try to run the Visual Basic tutorial, a message box will tell you, "Not Enough Memory To Load Tutorial."

CAUSE

Any one of the following conditions can cause this error:

  • The Visual Basic tutorial is not actually installed.
  • The current directory is not pointing to the location of VB.EXE.
  • The content of the VB.LES file is damaged.

RESOLUTION

You can verify that the current directory is pointing to the location of VB.EXE by clicking the Visual Basic Icon in the Program Manager and choosing File Properties from the Program Manager Menu. The Working Directory option should specify the correct location of VB.EXE.

The subdirectory \VB\VB.CBT contains files for the Visual Basic tutorial. If the file VB.LES has been modified or replaced by another file, the tutorial cannot be run and two erroneous dialog boxes will open. The messages displayed in these dialog boxes are incorrect and should be ignored.

The first dialog box has the title "Visual Basic Tutorial" and displays the message "Out of memory". Choosing the OK button will clear this box and another one will open.

The second dialog box is titled "Microsoft Visual Basic." It displays the message "Not enough memory to load tutorial." Choose the OK button to clear this box.

To correct this problem, reinstall Visual Basic so that the VB.LES file is replaced by the correct file. Note that to reinstall Visual Basic correctly, you must first delete all files from the previous installation. Remember to save all of your program files (*.FRM, *.MAK, and so on) before deleting the previous installation.


Additional reference words: 1.00 2.00 3.00
KBCategory: kbsetup kbprb
KBSubcategory: Setins


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.