You must use client side code, such as the window.close jscript method.
Here's more info:
http://msdn.microsoft.com/library/de...ds/close_0.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Paul" <an*******@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
Just wondering how to close a window in vb.net? I have a close button and
need this for the click event.