Hi

Right I have two list boxes, displaying 20 lines of information each, when a button is clicked, one line from each list box is randomly imported from a list box into a label, below is the coding being used.

Code:
Dim rnd As New Random()
        Dim randomnumber As Integer = rnd.Next(1, stock1.Items.Count)
        lblstock1.Text = stock1.GetItemText(stock1.Items(randomnumber))

        Dim rnd1 As New Random()
        Dim randomnumer1 As Integer = rnd.Next(1, stock2.Items.Count)
        lblstock2.Text = stock2.GetItemText(lstyellow.Items(randomnumber))
After 20 button clicks the list boxes and everything goes to plan, however I want to ensure that entries from both listboxes do not confliced, until 20 button clicks.

Basically I want only 1 item from each listbox to be used once, therefore nothing is repeated, I hope you understand what I am trying to explain.

Help appriciated