79673712

Date: 2025-06-20 16:40:49
Score: 1
Natty:
Report link
Apologies, allow me to be more clear.

Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.7.4
Language = VB.NET
Shutdown Mode = Shutdown only after last form closes


Private Sub Form1ToolStripMenuItem_Click
        Analysis.Show()
End Sub
Private Sub Analysis_Load
       Form1.Close()
End Sub
This results in the app ending.


Private Sub Form1ToolStripMenuItem_Click
        Analysis.Show()
        Me.Hide
End Sub
Private Sub Analysis_Load
       Form1.Close()
End Sub
This results in the app continuing to run after Analysis is closed.


Private Sub Form1ToolStripMenuItem_Click
     Dim frm2 As New Analysis
     frm2.Show()
     Close()
End Sub
The above also results in the app ending.

Thank you for your time and help.
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PhillyJoeDog