hi, i have just made a small web browser in
vb and have a button that sets focus on the web browser (WebBrowser1.SetFocus) then access a buttons short cut. i am using (SendKeys "%s", True) the problem is that this web site has script errors on the page. if i was using internet explorer the status bar would handle it with no annoying popup msg. but in my
vb browser the script error popup comes up. is there a way for
vb to ignore this msg(as the sendkeys is in a loop)
Code:
For i = 1 To Val(txtCount.Text) 'use the Val() function to return the numeric value of a textbox
SendKeys "%s", True
'SendKeys "{ENTER}", True 'Enter Script Error
Next i
and if im reciving this error msg after every sendkeys it defeats the point of the loop. any help would be great thanks :D