Hi,
I have modified the code as suggested and it is functioning as I wish, however, Whichever button 'OK' or 'Cancel' is pressed it still returns the same value- "cancel"
Pivate Sub test_dialog_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
''Set out the...