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.