Windows applicaion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • apking
    New Member
    • Feb 2007
    • 32

    Windows applicaion

    hi friends

    i have one button.when button clicks.i want to close application.how to write code in vb.net

    thanks
  • aliasruel
    New Member
    • Sep 2007
    • 73

    #2
    Hi,

    to close a windows application... all you have to do is to use the code below.

    Me.Close()






    Originally posted by apking
    hi friends

    i have one button.when button clicks.i want to close application.how to write code in vb.net

    thanks

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      can also use end
      in the button click event to close the application.

      Comment

      • jeenajos
        New Member
        • Oct 2007
        • 71

        #4
        In the button click event give
        FormName.Close( )

        Comment

        Working...