Hai Friends, this is me sundar. I have a doubt in vb6.In my project, When i click the close button it should show a msgbox as 'Do u want to exit'. if i click 'No' button in that msgbox, the form should not be closed. What is the coding? In which event i want to write this coding?