If you'd just pause you fingers momentarily long enough to give your brain a chance, you might have seen that I did actually realise this and wrote the following as a result of my realisation:you should have realised that the "cancel" property was what were on my mind in the first place
FormClosing
If MessageBox.Show("Sure to quit?", "", MessageBoxButtons.YesNo) == DialogResult.No
[B][SIZE="5"]e.Cancel = True 'set the event cancel property to prevent app exiting[/SIZE][/B]
End If
End FormClosing
BTW, the "exit sub" will truly exit the sub and will not run over the old lady crossing the road. Believed me