PRB: Workaround for Not Enough Memory to Load Tutorial Error

ID: Q78000


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 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 query words: 2.00 3.00

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: September 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.