AliAmjad Thanks, i do have a book and have seen the code you mention before. But for some reason it is not in my current form. When i select 'show all files' im the solution explorer, a plus sign appears next to my form which, if expanded, show me a Form.Designer.vb file and a Form.resx file. I can see some code with 'Mybase.Disposing' in the Form.Designer.vb file but cannot find the form constructor anywhere. I can create a constructor, with the same code as your comment and the IDE doesn't complain, but i would like to know why it is'nt there in the first place. I have also tried adding in another form, just in case the code was accidentily deleted but this was the same.