Loading data from a file to text boxs
Sorry for the begginers question but i am trying to learn vb and have just got stuck
I need to load data from a file to 6 text boxs.
This is the code i have to save the data:
the output looks like:
Open "c:\program files\Mikesprogs\MikesLotteryChecker\" & Frame2.Caption & ".ini" For Output As hFile
Print #hFile, Frame2.Caption
Print #hFile, Text6.Text
Print #hFile, Text5.Text
Print #hFile, Text4.Text
Print #hFile, Text3.Text
Print #hFile, Text2.Text
Print #hFile, Text1.Text
But i need to load this data in to the 6 text box's when the program loads and when the load button is clicked but i cant figure out what code to use!
If anyone can help i would be very grateful