Hallo My Friends,

I have a problem. I'm trying to insert some label on my form. But i have an error message.

The message said, Control on Form reached maximum limit.

Any idea???


Thanks & Regards,
Fauzan

Recommended Answers

All 3 Replies

How many labels have you inserted??
Actually when When you place too many controls on a form then at the time of display it's size become too large that it cant show all the applications... So It generate that message!!

From VB's help files...

Project Limitations

A single project can contain up to 32,000 "identifiers" (any nonreserved keyword), which include, but are not limited to, forms, controls, modules, variables, constants, procedures, functions, and objects. Note that the actual number of identifiers is limited to available memory

You can however get around the limitations at least the part of the controls by using control arrays as the limitation speaks directly to the identifier (label1, label2,...) but Label1(0), Label1(1), ... is only one identifier.


Good Luck

ok, i understand.

I success to insert all control that i need on my form.
The key is CONTROL ARRAY.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.