I hope I posted this in the correct category, I chose the best one for my problem in my opinion.
I am writing a program in visual basic which is rather simplistic for the most part, what I need it to do is to read from a csv file and then choose a line from that csv file at random. there are 40 lines and from that 40, all I need to do is randomise them and select one and output it by showing it as a label in a form.
I have imported the csv but cannot get it to randomise and output the result to a label,
any help would be greatly appreciated and I will answer any questions if I can if there's anything else you need to know.
thanks.
I am writing a program in visual basic which is rather simplistic for the most part, what I need it to do is to read from a csv file and then choose a line from that csv file at random. there are 40 lines and from that 40, all I need to do is randomise them and select one and output it by showing it as a label in a form.
I have imported the csv but cannot get it to randomise and output the result to a label,
any help would be greatly appreciated and I will answer any questions if I can if there's anything else you need to know.
thanks.