Hello,
Is there an easy way to save the application ? for example :
- Application position on the screen
- Imagine if I have an "option" form
How save and restore these informations ?
Thanks,
Marc Gravell - 26 May 2006 17:14 GMT
In VS2005, create a settings object (e.g. MySettings.settings) in the
project explorer; define the settings via the tool (as "user" settings);
read via MySettings.Default.whatever; after updating them call
MySettings.Default.Save; job done. For more complex needs, consider
serializing a custom object (usually as xml) e.g. to the user's app-data
area.
Marc