paulthepaddy
Well-known member
will settings hold variables and things, this is the code im trying to use but it doesn't seem to be remembering the settings, yet it will remember the other settings
VB.NET:
My.Settings.Save_one_Invoice = True
If Me.ComboBox1.SelectedText = "Invoice_Name" Then My.Settings.Save_one_Style = (Invoice_Name)
If Me.ComboBox1.SelectedText = "Invoice_Name TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & TOTAL)
If Me.ComboBox1.SelectedText = "Invoice_Name £TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & "£" & TOTAL)
If Me.ComboBox1.SelectedText = "Invoice_Name - TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & "-" & TOTAL)
If Me.ComboBox1.SelectedText = "Invoice_Name -£TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & "-£" & TOTAL)
If Me.ComboBox1.SelectedText = "Invoice_Name_TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & "_" & TOTAL)
If Me.ComboBox1.SelectedText = "Invoice_Name_£TOTAL" Then My.Settings.Save_one_Style = (Invoice_Name & "_£" & TOTAL)