Random Line

Random Number/Line Selector in Visual Basic

Introduction: This tutorial is on how to create a 'Random Choice' tool which will randomly select either a line from a text file, or a random number. Design: For this we want; -Random Number- Numericupdown, numericupdown1, hold the minimum possible random number value. Numericupdown, numericupdown2, hold the maximum possible random number value. Button, button1, Select a random number. -Text File Line Selector- Button, button2, Select the file and choose a random number, converted to line. Imports: The first thing we need to do is import th