On a Windows form (VB.NET app on XP), I have three combo boxes. I want to create a sub called "CheckComboNull" so that when a command-button is pressed, the sub checks to ensure that an item has been selected from each combo box on the form.
In VB6 I would just loop through the controls, look for type=combobox, and check to see if it had a value selected. How do I do this in .NET? I've looked on the web but everything I've found seems to say you can't loop through the same way, and looks unnecessarily complex.
Thanks!
In VB6 I would just loop through the controls, look for type=combobox, and check to see if it had a value selected. How do I do this in .NET? I've looked on the web but everything I've found seems to say you can't loop through the same way, and looks unnecessarily complex.
Thanks!