torg Posted April 19, 2003 Posted April 19, 2003 My problem is. I have got a combobox1 on form 1. I wish to have Form2.Listbox.Items = Form1.combobox1.Itmes.How do I do that? This is not an MDI application. Quote
torg Posted April 19, 2003 Author Posted April 19, 2003 I solved my problem: Dim newForm1 As New Instillinger() Dim i As Integer For i = 0 To 9 Me.cboUtgift.Items.Add(newForm1.ListBox1.Items.Item(i)) Next Quote
Moderators Robby Posted April 19, 2003 Moderators Posted April 19, 2003 You may want to do this for your loop... For i = 0 To newForm1.ListBox1.Items.count -1 Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.