Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
Here is a way to do this without using the registry.In the project's properties, Settings pane, add the following settings. You can name these settings anything you want, but use the same setting name in the code shown below:Name: MainWindowStateType:...
Here's another way. This saves the form's normal WindowState settings, so you can still save even if the form is minimized, and it can be used for any form. It also includes a sub to keep forms inside the desktop area.Check the Regpath string before using!...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.