Results 1 to 3 of 3

Thread: [RESOLVED] Unload Method And Query Unload ???? HELP

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    24

    Resolved [RESOLVED] Unload Method And Query Unload ???? HELP

    VB 6.0
    Private Sub Form_Unload(Cancel As Integer)

    VB.NET 2008
    ???????

    VB 6.0
    Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

    VB.NET 2008
    ????????

    is VB.Net supported this two events ???????

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Unload Method And Query Unload ???? HELP

    If you want to know what events the Form class has and what they do you should read the documentation for the Form class. That's what it's for.

    http://msdn.microsoft.com/en-us/libr...8VS.90%29.aspx
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    24

    Re: Unload Method And Query Unload ???? HELP

    Oh .... hehehehe ...... tnx for your reply ...... i figured out what to do ...... tnx

    VB 6.0
    Private Sub Form_Unload(Cancel As Integer)

    VB.NET
    Private Sub frmQuery_FormClosed(ByVal sender As Object, ByVal e As Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed

    VB 6.0
    Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

    VB.NET
    Private Sub frmQuery_FormClosing(ByVal sender As Object, ByVal e As Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width