Any way to make a text box use different lines from a text file?


I am making a sports program that allows people to input their team full of players, however it's becoming more and more tedious to input each player in singularly, i realise i could use a save and load system, but my knowledge of Visual Basic coding is very limited, i am having to try to reteach myself after 6 years away from it!

I was wondering if it was at all possible to make the form which has 11 text boxes be able to read each line from a notepad text document as singular entities, for example:

txtHomeGK.text = notepad.line1
txtHomeDR.text = notepad.line2

and so on?

I realise it's a long shot and i may have to stoop for the whole load each box as a seperate notepad document while i try to reload saving and loading properly, but any help would be greatly appreciated.

Thankyou for anyone that takes the time to reply.

Nico Dal Pozzo

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options