in the designer Code View in the top left portion of the window (just above where to cade starts) there's two drop down lists, the left one displays all objects IE buttons, menus, textboxes, labels, etc... and once you select one the right hand one displays all the events you can use/code for. so in the left one select the forth from the top titled "(Form1 Events)" yes it's in parenthasis. now on the right select Closed or Closing now the editer adds:
Private Sub Form1.... HANDLES Form1.Closing (or Form1.Closed if that's the event you selected from the right hand drop-down)
End Sub
if your editer does not do that you're either doing it wrong (buy and read several books) or you're not useing vb.net (any version) and you need to upgrade from vb6 (or older) then start posting on this forum.
