Results 1 to 2 of 2

Thread: Exiting a VB Program?????

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Brewer, ME
    Posts
    12

    Question Exiting a VB Program?????

    The answer to this question is probably really simple, but if you have a VB application that you run and you want to have a button to exit the program, what is the code for that????

    Thanks,

    Kevin

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    VB Code:
    1. Dim frm as Form
    2.  
    3. for each frm in forms
    4.     unload frm
    5.     set frm = nothing
    6. next frm
    That unloads all the forms, clears everything from memory

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