When i close a form, and a webbrowser is navigating (or i have a do:doevents:loop until wb.busy = false loop), i get comexception errors up the wazoo.

how can i stop these? is there anyway to unload certain compunents on form_queryunload?