Visual Basic Reference

Visual Studio 6.0

Reached limit: cannot create any more controls on this form (Error 345)

See Also

No more than 255 individual controls are allowed for each form. This error has the following cause and solution:

  • At design time you tried to add a control to a form that resulted in a total of 256 individual controls for the form (with the form itself counting as one control).

    Delete one or more controls from the form or redefine one or more of your controls as part of a control array.

Show: