Coffeehouse Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Unloading in VB Express 2005 HELP!!!

Back to Forum: Coffeehouse
  • User profile image

    Can someone please tell me how to unload in vb express 2005.  When the close "x" (at the top right) is hit I want things to be saved before the form closes. I'm new to VB and i can't figure it out.


  • User profile image

    Use the Closing event of that form.

  • User profile image

    This may be common knowledge but I figured it out and haven't gotten a response from anyone so in case other people were wondering the same thing here it is (formclosing)...

    Private Sub form_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing

  • User profile image

    Thanks zippyV!!! Just got your post after I mine.  I appreciate the response!


Conversation locked

This conversation has been locked by the site admins. No new comments can be made.