INFO: Maximum Number of Array Elements in Visual Basic 6.0

ID: Q229792


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0


SUMMARY

The maximum number of elements in an array is limited by the amount of available system resources. While you could possibly have an array with the maximum 32-bit value of 2147483648, your program would run out of memory because Windows NT 4.0 only supports 4GB of memory in a single process.


REFERENCES

For more information about project, control, and code limitations in Visual Basic, please see the following topics in the Visual Basic Programmers Guide in the Online Help:

  • Project Limitations
  • Control Limitations
  • Code Limitations
  • Data Limitations
  • System Resource Limitations

Additional query words: VBFAQProgramming

Keywords : kbVBp600 kbGrpVB kbVBp600FAQ
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbinfo


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