// List through the controls foreach (Control formControl in Controls) { MessageBox.Show(this, formControl.Name); }or (according to http://www.kamalpatel.net/ConvertCSharp2VB.aspx)
' List through the controls Dim formControl As Control For Each formControl In Controls MessageBox.Show(me, formControl.Name) Next