Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27223

Read lines from .txt

$
0
0
Hello. I want to make an app with random questions, for my school.. Is it possible to read questions and correct answer from an online .txt file ?
For example, i have
Dim question as String
Dim correctanswer as String
And to read from www.mysite.example/files/myfile.txt, who contains:
" 1+1 =
2
A simple question
A simple answer
"

Where first line is question and second is answer, or another simple way for what i request. I don't want to have question in app because i want to change them every day, and my colleagues don't want to download my app every day. (my math teacher said me to do this, 'cause my class don't know some VB.net or any script.).

Thank's :)

Viewing all articles
Browse latest Browse all 27223

Trending Articles