I have this code:

Code:
IEnumerator myEnum = panel1.Controls.GetEnumerator();
			
while(myEnum.MoveNext())
{
	object o = myEnum.Current;
	'now convert object to UserControl
}
I'm using..

Code:
UserControl uc = Convert.ChangeType(o,GetType(UserControl));
but doesn't work.

Any ideas??