Get text from specefic line on website help
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts
Page 1 of 1
I have 2 websites for 2 radios i have in my radio program and i would like to have it show the track from these 2 websites, ive figured it out with the other radio stations i had but i need help with these 2 which is diffrent from the others
http://www.technobase.fm/
http://www.hardbase.fm/

http://www.technobase.fm/
http://www.hardbase.fm/

try out
#credits goes to daniweb
Code: Select all
or loopYou could use this to get a specified line from the TextBox.
TextBox2.Text = TextBox1.Lines(2) '// get line 3.
Code: Select all
For Each txtLine As String In TextBox1.Lines '// loop thru all lines in TextBox.
If txtLine.StartsWith("leaning daniweb.com") Then '// check if line .StartsWith a specified String.
TextBox2.Text = txtLine '// get line content.
Exit For '// exit loop since line was located.
End If
Next
#credits goes to daniweb
Find my programs on Softpedia
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023