FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.
<Forms> <Form1> <Controls> <TextBox> <InUse>True</InUse> <Enabled>True</Enabled> </TextBox> <ComboBox> <InUse>True</InUse> <Enabled>True</Enabled> </ComboBox> etc. </Controls> </Form1> </Forms> The following code could be used as starting point: Dim controlsD As New Dictionary(Of String, String) For Each contrl As Control In Me.Controls controlsD.Add(contrl.Name, contrl.GetType.ToString) Next For Each key As String In controlsD.Keys Debug.WriteLine("Name = " & key & "; Type = " & controlsD(key)) Next
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.