Results 1 to 4 of 4

Thread: closing a form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81
    im creating an EXe with aqll my code in the form load event but after it lods up and runs the code im left with a blank form how do i close this form off ??and close the exe application off so it has run then shut down ????


    the name of the form is called run.frm

  2. #2
    Addicted Member Electro414's Avatar
    Join Date
    Nov 2000
    Location
    Do you know? I don't...
    Posts
    128
    Just type:
    Code:
     END

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81

    cheers...how dumb of me i have not used vb for about a year and very rusty at the Mo

    cheers

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by Electro414
    Just type:
    Code:
     END
    End should really not be used on its own...put this in the main form's Unload Event...
    Code:
    For Each Form In Forms
      Unload Form
      Set Form = Nothing
    Next
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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