|
-
Aug 15th, 2000, 01:00 AM
#1
Thread Starter
Lively Member
how do you force to unload forms(non-child) from another form.
- I'm Using VB 6.0 Enterprise Edition
-
Aug 15th, 2000, 01:19 AM
#2
Code:
Unload form2
Set form2 = Nothing
-
Aug 15th, 2000, 02:13 AM
#3
Thread Starter
Lively Member
assuming you don't know the name of the form... can you unload it using the Forms collection?
-
Aug 15th, 2000, 02:40 AM
#4
To unload all forms:
Code:
Public Sub UnloadAllForms()
Dim OfTheseForms As Form
For Each OfTheseForms In Forms
Unload OfTheseForms
Set OfTheseForms = Nothing
Next OfTheseForms
End Sub
-
Aug 15th, 2000, 05:23 AM
#5
Thread Starter
Lively Member
Now this is what I'm looking for!
Thanks a lot Matthew 
rod
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|