The issue I'm having is that my settings don't seem to save when the project has ended.
My project consists of a FrmMain, and FrmSettings
Code is as follows:
FrmMain: The settings should load when the main form loads
Private Sub FrmMain_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'//Load Settings\\
My.Settings.Reload()
FrmSettings.settingsTXTsearch.Text = My.Settings.SettingSearchTerm
'\\Load Settings//
End Sub
FrmSettings:
Private Sub SettingsButtonApply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SettingsButtonApply.Click
My.Settings.SettingSearchTerm = settingsTXTsearch.Text
End Sub
I've also added a button that shows me what My.Settings.SettingsSearchTerm's value is, and it is being stored correctly, but once the project ends, the value is not saved. (Using me.close() and END)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox(My.Settings.SettingSearchTerm)
End Sub
Please let me know if you need any more information from me, or code samples.