That is where I placed the savesettings line of code. For some reason, no matter how I code the unload all forms, my settings will no longer be saved to the registry.

: : Before I unload my main form, I am trying to store my values from my txtboxes into the registry. It does not work when I unload the other forms. Would you happen to know how to correct this problem?

I fixed it by removing the settings coding from the Unload event and placing it in the Form Active event.

When I put it in the unload event, my settings were being set to 0 before the entire program terminated. But when I placed it into the Form Active event, the settings were set each time that the main form became active.

I would like to thank you for the code that allows me to Unload each form within the project

simultaniously.

Thank you again,

Timbo

Vinestim@yahoo.com

: That is where I placed the savesettings line of code. For some reason, no matter how I code the unload all forms, my settings will no longer be saved to the registry.

:

:

: : : Before I unload my main form, I am trying to store my values from my txtboxes into the registry. It does not work when I unload the other forms. Would you happen to know how to correct this problem?

: I fixed it by removing the settings coding from the Unload event and placing it in the Form Active event.

:

: When I put it in the unload event, my settings were being set to 0 before the entire program terminated. But when I placed it into the Form Active event, the settings were set each time that the main form became active.

:

: I would like to thank you for the code that allows me to Unload each form within the project