Just A Tyler Durden
Regular Member
- Jul 1, 2014
- 207
- 89
so I suck at coding, but I successfully made a YT comment bot but Im having some problems. I'm trying to get it to import a text file of urls, but I need it to import 1 url each time the button is pressed. I just about tried it all but still cant get it to work. Heres what I got so far for it. If any one knows how to do it PLZ help, add e on skype if you want.
Code:
Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
Dim reader As New System.IO.StreamReader("C:\tally\urls.txt")
Dim str1 As String
str1 = reader.ReadLine()
reader.close()
TextBox1.Text = str1
End Sub