I have i problem with WebBrowser control,
When I navigate Web then Fill all the form after submit
the message will popup From Microsoft Internet Explorer
then said "The data will save do you want to continue?
the options is "OK and "Cancel"
How to click the "OK" using WebBrowser Control in vb.net 2010?
I try this but not working
thanks in advance!!
When I navigate Web then Fill all the form after submit
the message will popup From Microsoft Internet Explorer
then said "The data will save do you want to continue?
the options is "OK and "Cancel"
How to click the "OK" using WebBrowser Control in vb.net 2010?
I try this but not working
Code:
Dim allelements1 As HtmlElementCollection = WebBrowser1.Document.All
For Each webpageelement As HtmlElement In allelements1
If webpageelement.GetAttribute("name") = "btnOk" Then
webpageelement.InvokeMember("click")
End If
Next