Problem in visual basic control

Asked By 10 points N/A Posted on -
qa-featured

I work in visual basic to make various kinds of utility software.

But yesterday when i tried to make a software of Bangladesh Technical Education board, at that time i needed more than two hundred and fifty controls.

But is was saying that visual reached its limit.What is the problem?

SHARE
Answered By 0 points N/A #100789

Problem in visual basic control

qa-featured

In Visual Basic, the number of controls that can be added to a form is limited to 254 control names only.  Take note that it counts on the unique name of a control, so the best way to go beyond the limit is to use control arrays. 

A control array is counted as one control only since it shares the same resources and use just one control name (only indexes differ). 

Control array control’s number of Indexes in limited to 32,767.  Even layers of controls (control inside other controls) also have limits; only up to 25 levels of controls can be nested.

Related Questions