Hello All,
I'm trying to create a lottery program where I load a group of customer names into a listbox from a file and then I want to randomly choose a name from the listbox and display it in a label. I was able to get it using:
Label1.Text = lstcustomers.Items(Int(Rnd() * pintcount))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.