April 16th, 2013, 08:46 AM
Unload All Modal Forms From The Parent
I've a very interesting situation. I use Visual Basic 6, I've four forms in my project. For Example Form1, Form2, Form3 and Form4.
In Form1 I've a Button that loads Form2:
...And a timer that counts 10 secs:
Private Sub Command1_Click()
From Form2 I Load Form3.... with .Show vbModal. And I open Form4 not Modal to Form1.
Private Sub Timer3_Timer()
Timer3.Interval = 0
I need a Solution that, when the timer in Form1 enters Timer3_Timer() sub, the Forms That are modal opened(Form2 and Form3) to be Unloaded(Closed), And Form4 to remain Opened(Loaded)
If anyone have any Ideas...please share
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.