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

ID: Q76983


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

If, when creating a new form, you receive an "Out of memory" 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.


MORE INFORMATION

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 "Out of Memory" 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 :
Version :
Platform :
Issue type :


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