String url3 = "http://176.149.56.104:10350"; try { HtmlWeb web3 = new HtmlWeb(); HtmlDocument doc3 = web3.Load(url3); cLigne = doc3.Text; iPos1 = cLigne.IndexOf("<"); iPos2 = cLigne.IndexOf(">"); cSeismes = cLigne.Substring(iPos1 + 1, iPos2 - iPos1 - 1); TextBox_Seismes.Text = cSeismes; } catch (Exception ex) { TextBox_Seismes.Text = ".../..."; }