I'm currently practicing working on mobile application using vb .net 2008. So I have these 5 forms that I link together. The form # 2 is where my quit button was positioned. I want to quit the whole application but form # 2 was the only form that is terminated while the rest of the forms was not..

Please help me guys.. Thank you..

Hi Jefro

When Form2 is closing it will trigger the following

Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
'---In this module write the following

'- and so on
End Sub

I prefer u to use MDImain and child windows which will make ur app stronger


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.