Bonjour je n'arrive pas a trouver l'exeption pour ce genre de code
sont action :
-récupérer dans une source web un mot
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 Dim nomarticle As HtmlElementCollection = weblbc.Document.GetElementsByTagName("a") For Each CurElement As HtmlElement In nomarticle TextBox10.Text = TextBox10.Text & CurElement.GetAttribute("href") & Environment.NewLine Next Dim txtvalue As String = TextBox10.Lines.GetValue(16) TextBox11.Text = txtvalue
Partager