I have a text file with about 84 lines of text or so. What i'm trying to do it when someone types 32 in a box then a string is changed to what is on line 32 in the text file.
For example if line 64 is hello, when the user types in line 64 in the textbox then the string MyString will = hello.
I want this to be as easy as possible please. Im currently using
VB Code:
Open App.Path & "\worlds.txt" For Input As #1 Line Input #1, WLine MsgBox WLine Close #1
But can't seem to edit it to search a specific line.
Thanlks in advance!!




Reply With Quote