So This Tutorial is based around reading ASCII from a txt file or maybe even an HTML on a webpage for such things as a News updater on the sidebar of a program.
So 1st off create a Form and add: 1 Button and A Textbox set to multiline Spoiler (Click to View)
[IMG]http://i295.photobucket.com/albums/mm124/tanman39/HFTUT1.png[/IMG]
Then add this under Public Form 1:
Dim webclient As New System.Net.WebClient
Then go back to your form and double click the button you added; add this code:
Textbox1.Text = System.Text.Encoding.ASCII.GetString(( _
webclient.DownloadData("http://example.org/tutorial.txt")))
Change your button text to something like 'Update' or 'Refresh'
This was my first tutorial and if you found it helpful please comment ✌
So 1st off create a Form and add: 1 Button and A Textbox set to multiline Spoiler (Click to View)
[IMG]http://i295.photobucket.com/albums/mm124/tanman39/HFTUT1.png[/IMG]
Then add this under Public Form 1:
Dim webclient As New System.Net.WebClient
Then go back to your form and double click the button you added; add this code:
Textbox1.Text = System.Text.Encoding.ASCII.GetString(( _
webclient.DownloadData("http://example.org/tutorial.txt")))
Change your button text to something like 'Update' or 'Refresh'
This was my first tutorial and if you found it helpful please comment ✌

