Great, that worked nicely. But...
I need to fill in around 5 forms sequentially, in just the same way, but VB tries to submit the next form before the current one is finished. Here's what I have now:
WebBrowser1.Navigate ("http://nos.dhlgroup.co.u
While (WebBrowser1.ReadyState <> READYSTATE_COMPLETE)
DoEvents
Wend
WebBrowser1.Document.Forms
WebBrowser1.Document.Forms
WebBrowser1.Document.Forms
While (WebBrowser1.ReadyState <> READYSTATE_COMPLETE)
DoEvents
Wend
WebBrowser1.Document.Forms
I would have thought that this would have waited before running each request, but as soon as the initial request is completed, it tries to submit both the forms at the same tima and obviously generates an error! Any ideas how better to do this? Thanks
Main Topics
Browse All Topics





by: bingiePosted on 2004-12-16 at 17:29:11ID: 12846995
Try This:
k/booking/ wrd/run/ WB _LOGIN_PW. entryPoint ") (0).All("U SER_ID.USE R.DUM").Va lue = "username" (0).All("P ASS.USER.D UM").Value = "password" (0).All("C ONTINUE.BU TTONS.BUTT ONS").Clic k
webbrowser1.Navigate ("http://nos.dhlgroup.co.u
While webbrowser1.Busy
DoEvents
Wend
webbrowser1.Document.Forms
webbrowser1.Document.Forms
webbrowser1.Document.Forms