Ahhhhhh.............how about at form load event
something like
cboThing.Clear
do
'selection or whatever
cboThing.AddItem Whatever
'exit do command here
loop
cboThing.ListIndex = 0
Whats meant to go in the combo??????
Guess I wasn't specific enough huh?
Well, here it goes I will explain it code to code.
Okay.....
I have this program..... its like this
Code:
Private Sub Form_Load()
cboListBox.AddItem "Item 1"
cboListBox.AddItem "Item 2"
End Sub
Private Sub cboListBox_Click()
If cboListBox.Text = "Item 1" Then
txtContent.Text = "This is Item 1" & VbCrLf & "Got any problem with that?"
End If
If cboListBox.Text = "Item 2" Then
txtContent.Text = "This is Item 2" & VbCrLf & "Don't you think this whole thing is lame?"
End If
End Sub
So, if I want to make a new one which will be:
Code:
Private Sub cmdNew_Click()
cboListBox.AddItem "Item 3"
txtContent.Text = "This is Item 3 now!" & VbCrLf & "Uhhh.... Item 3?" ' The Content
'Probably put a saving code here!
End Sub
so, what Im trying to explain here is how can I save that "Item 3" and Its Content, so the next time I can run a code to load the damn thing......... if you still don't get it....... I will let you see the code, or the program...... shees!
THANXX!