Microsoft KB Archive/76983

= BUG: FormName Not in Correct Order After Out of Memory Error =

Article ID: 76983

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition

-



This article was previously published under Q76983



SYMPTOMS
If, when creating a new form, you receive an &quot;Out of memory&quot; error message, no form will be loaded. However, the default FormName is still incremented by 1 so that when a new form can be created (for example, by deleting an already existing form) after getting the error, the FormName of the newly-created form is not in the correct sequence.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem

 * 1) Start Visual Basic or choose New Project from the File menu (ALT, F, N) if Visual Basic is already running. Form1 is created by default.
 * 2) Create new forms by choosing New Form from the File menu (ALT, F, F) until you get an &quot;Out of Memory&quot; error. On one machine, this occurred when trying to load Form52. In Visual Basic version 2.0, this may not occur until you reach Form100 or more.
 * 3) Choose the OK button to acknowledge the error message.
 * 4) Delete Form51 (or whatever the final form is) by choosing Remove File from the File menu (ALT, F, R).
 * 5) Create one more form. Form53 will be the next form, even though Form52 was never created.

Additional query words: buglist1.00 buglist2.00 buglist3.00 2.00 3.00

Keywords: kbbug KB76983

-

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

© Microsoft Corporation. All rights reserved.