ShowDialog won't let you switch to other forms while you are showing a form using this method, there is also the Show method. When using ShowDialog all the codes that follows it until the the form is not closed. You can use Me.Close in the form shown using ShowDialog, why did you say that it doesn't work?