Hi there guys! :D
I'm trying to have my application download the source code of a website and filter out the information that I need to pull on my application.
Everything is fine and dandy however the UI freezes until my application finishes downloading the source code of the site.
If there is anywhere I can get help, this has got to be the place. :)
Here's the code that makes me cry:
public void LoadPlayersOnline()
{
WebClient WebClientClass = new WebClient();
string SiteSource = WebClientClass.DownloadString("http://forums.chronic-domination.com/");
int AlliancePos = SiteSource.IndexOf("Alliance");
string AlliancePlayers = SiteSource.Substring((AlliancePos + 14), 3);
label5.Text = AlliancePlayers;
}