Perhaps if you add a small code sample - your post is very abstract and in it's current form, begs the possibility of a lost "this", considering you are speaking of three objects - FormView, TreeView as a child of FormView and an open file.
For example, are you evaluating TreeView from "this" file when it's actually part of "FormView"?
Other off-the-wall possibilities: Is your openning file destroying the form, without explicitly destroying your TreeView? Is the openning file closing the TreeView, but not the parent form, leaving the form to choke while trying to destroy the TreeView prior to destroying itself?
Good luck,
Gary Allen