>How do I release object references? I have a couple of it in my form. Can I do something like setall?
I would not look for a setall type of solution. I would create a method in the form that cleans up all object references by explicitly storing NULL to the properties, then call that method from the Release method of the form.