Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Code is not working in webbrowser_navigated

$
0
0
This code is working in button.click event, but not in webbrowser.navigated. Why ? What I am doing wrong ?
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...

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>