I have my web browser control automatically filling out a series of online forms for me online, and when it is complete, it starts over again.
I get through about 3 cycles of this, and then the webpage in the browser control goes to a "the page cannot be displayed" page.
This totally screws up my program and makes it stop filling out the forms.
im fairly new to programming, and i'm not sure how to fix this problem.
what are some potential solutions?
i've tried this code
VB Code:
If InStr(1, ssource, "You might not have permission") > 0 Then step = step - 1 Clipboard.SetText pasturl WebBrowser1.Navigate pasturl End If
but it doesnt seem to be working.
any ideas would be awesome.




Reply With Quote