How can I detect using vb:
1/ how many forms in project (vb project)?
2/ how many control, and name of each one, ate in each form?
Thank you,
Mohammed.
Printable View
How can I detect using vb:
1/ how many forms in project (vb project)?
2/ how many control, and name of each one, ate in each form?
Thank you,
Mohammed.
With every project, there is a FORMS collection and on every form there is a CONTROLS collection, and in every user control there is a CONTROLS collection. These individual items can be accessed by either using a
For Each...Next loop
or
For i = 0 to FORMS.Count (CONTROLS.Count)
I hope this is what you were looking for.
Chuck Sweet
------------------
To err is human, but to apologize frequently is embarassing.