I think you can write all these stuff in one file but you maybe need more code to handle xml nodes and such stuff(messy work ) . Well , if you're just saving the location and the size of the form , it's much better to save them in the registry . Notepad uses it too . 99% of the applications write their settings in the reg . I don't know why it's not recommended though ....