Wel, in each case not "Pannel", but I assume that's a typo.

I think the panels in the PanelManager are custom panels called ManagedPanel or something. So you might want to try
Code:
For Each p As ManagedPanel In pmStudentHome.ManagedPanels
...
Next