SOS, thanks for your reply.
I had tryied before in the Resize event to run the Docm.Maximize, that works but I was asked to change that because it shows the window to minimize and then maximize again.
On the other hand, I would like to try your suggestion to see if that can work better, but I am not sure about the MoveSize that you are talking about, I tried with the Move member of the Form but I was not able to see any change, Besides I could save the width of the windows but not the height.
I appreciate yours and other suggestions.
Thanks