But now i have programmed a dialogbox to pop-up on the screen.
The dialogbox has 2 options -> ok and cancel.
When the user clicks cancel i wan't the application to stop and go back in code.
Is there a way to point the application to a line of code so it starts running from there again??
I can make an if-then procedure for the cancel-button:
if Windows.Forms.DialogResult.Cancel Then ????????
Any help please?!