Hi everyone,
Was hoping someone out there could help me out please.
I have a parent form and a menu at the top, I use the menu to open new forms. The problem I'm facing is when I click on 'Quit' in the menu it should close the form I have opened but it keeps throwing an error.
On the quit button I have the following coding.
As it should close the form that is opened, however it breaks on the form that is not opened. Any help or suggestions please?
Was hoping someone out there could help me out please.
I have a parent form and a menu at the top, I use the menu to open new forms. The problem I'm facing is when I click on 'Quit' in the menu it should close the form I have opened but it keeps throwing an error.
On the quit button I have the following coding.
VB.NET:
frm2.close
frm3.close
frm4.close
As it should close the form that is opened, however it breaks on the form that is not opened. Any help or suggestions please?