Im having trouble gettig information using GetSetting.
I have a list of details that is accessed by using the Submit button, the code i have for this goes like:
SaveSetting "Callbacks", "To Do", "Callback List", List1
' List info from text boxes in List1 with 5 spaces between each entry
frmCallbacks.List1.AddItem txtCaseRef.Text & Space(20) & txtDate.Text & Space(20) & txtTime.Text
' Clear all text boxes
txtCaseRef.Text = ""
txtDate.Text = ""
txtTime = ""
txtCaseRef.SetFocus
Which i thought should save the information in the listbox to the registry and then ive got a line of code:
Private Sub Form_Load()
List1 = GetSetting("Callbacks", "To Do", "Callback List", "List1"
End Sub
To load the information that had been saved to the registry but this just dont work, i know im doing something wrong, but what?
Any helpers please???
Regards
r3b00t
I have a list of details that is accessed by using the Submit button, the code i have for this goes like:
SaveSetting "Callbacks", "To Do", "Callback List", List1
' List info from text boxes in List1 with 5 spaces between each entry
frmCallbacks.List1.AddItem txtCaseRef.Text & Space(20) & txtDate.Text & Space(20) & txtTime.Text
' Clear all text boxes
txtCaseRef.Text = ""
txtDate.Text = ""
txtTime = ""
txtCaseRef.SetFocus
Which i thought should save the information in the listbox to the registry and then ive got a line of code:
Private Sub Form_Load()
List1 = GetSetting("Callbacks", "To Do", "Callback List", "List1"
End Sub
To load the information that had been saved to the registry but this just dont work, i know im doing something wrong, but what?
Any helpers please???
Regards
r3b00t