Discussion Locked
0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do u unload all forms under an Mdi form so that there is no active form when the mdi for starts up?
6 replies
by sl-campbell
In the code below you will need the line:
If Not TypeOf frm Is VB.MDIForm
otherwise the MDI form will also get unloaded.
Dim frm As VB.Form
For Each frm In VB.Forms
If Not TypeOf frm Is VB.MDIForm Then Unload frm
Next
If you want tokeep certain forms loaded, the check its' Name property.
by sl-campbell
Did this answer your question?
by tazvic03
The question was auto-closed by TechRepublic
by sl-campbell
Close this!
by tazvic03
The question was auto-closed by TechRepublic
by tazvic03
This question was auto closed due to inactivity
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
0 helpful
1 reply
1 helpful
3 replies
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies