Microsoft KB Archive/148778

= Mastering VB ErrMsg: Insufficient Memory to Run =

Q148778

-

The information in this article applies to:


 * MSPRESS Mastering Microsoft Visual Basic 4.0 ISBN 1-55615-913-7

-

SYMPTOMS
When you create a Form containing the DBGRID Control in Mastering Visual Basic during or after Lab 5, you receive the following Run-Time error message:

Insufficient Memory to run operation

After you receive the error, you are unable to restart Mastering Visual Basic 4.0. If you attempt to restart the program, you receive a General Protection Fault in modules: "DAO2516.DLL" "-or-" "VB 40016.DLL." Rebooting the system does not fix the problem.

WORKAROUND
Use the steps below to edit the Mseries.ini:

 Using a text editor,such as NotePad, open the file Mseries.ini located in the Windows folder.  Search for and remove the line: "Last Item=L05_2004" Save the edited Mseries.ini file. Exit Windows and restart the computer.

To prevent this problem from occurring, close Mastering Visual Basic 4.0 before starting Lab 5.

MORE INFORMATION
An adverse interaction exists between the Mastering Visual Basic 4.0 VB application using a Data Access Object and Visual Basic when the DBGRID control is present.

Additional query words: kbvbp400 masters multimedia developer visual basic

Keywords : kbenv kbmm kbusage

Issue type :

Technology : kbMSPressSearch kbZNotKeyword2

-

[mailto:MSDN@MICROSOFT.COM Send feedback to Microsoft]

© 2002 Microsoft Corporation. All rights reserved.