This code is working in button.click event, but not in webbrowser.navigated. Why ? What I am doing wrong ?
Thanks for help...
Dim cc As String = 0
For Each item As String In My.Settings.psites
If item = site Then
For Each ele As HtmlElement In CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).document.All
If ele.GetAttribute("id").Contains("pass") Then
ele.SetAttribute("value", My.Settings.ppass(cc))
End If
Next
End If
cc = cc + 1
Next
Thanks for help...