Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21363

[RESOLVED] Unloading Forms

$
0
0
In a Multi-Form project I can unload all Forms in the Form_Unload event of Form1 (the startup Form) so why can I not do same in Form2?

Form1 Code: No problem

Private Sub Form_Unload(Cancel As Integer)
Unload Form2
End Sub


Form2 Code: Causes app to hang

Private Sub Form_Unload(Cancel As Integer)
Unload Form1
End Sub

Viewing all articles
Browse latest Browse all 21363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>