Results 1 to 3 of 3

Thread: All forms close

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    6

    All forms close

    I was wondering if someone would be able to tell me how to get all forms to close when the main form closes without using a MDI style program. I wanted to make the program Open. so they can open multiples of many of the forms if they so wished.

  2. #2
    Member
    Join Date
    Jan 2009
    Location
    Philippines
    Posts
    36

    Re: All forms close

    Code:
    Dim f as Form
    
    For Each f In Forms
          Unload f
    Next f

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    6

    Re: All forms close

    Thanks, i will try that when i get home

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