Code:
Set Frm = Nothing
release the handle of the window