I don't have an answer for you but I would suggest a couple of things. When you post your code, post the actual code and not just part of it. So if there is more code in your Form_Load event post all of it. Also, there is no need for the Me.Dispose, if you want to manually close the form then us Me.Close.