LocationMy.Application.SaveMySettingsOnExit SyntaxDim result As Boolean = My.Application.SaveMySettingsOnExit or: My.Application.SaveMySettingsOnExit = value
DescriptionThe SaveMySettingsOnExit property indicates whether changes made to entries in the My.Settings object will be saved automatically when the application exits (true) or not (False). You can also modify this property while your application is running. Usage at a GlanceAlthough you can modify this setting when your application is running, its value will revert to its design-time setting the next time the application is run. To permanently change the value, modify the project's Application Properties and set the "Save My.Settings on Shutdown" as desired. Related Framework Entries
See AlsoApplication Object, Settings Object |