I have a code and I want it to wait somewhere in the middle before going forward. After the WebBrowser1.Document.Window.DomWindow.execscript(\"checkPasswordConfirm();\",\"JavaSc
Another way is to use System.Threading.ManualResetEvent
dim SecondsToWait as integer = 5 Dim Waiter As New ManualResetEvent(False) Waiter.WaitOne(SecondsToWait * 1000) 'to get it into milliseconds