JamesDSM50328
Technical User
I am having a problem I am using a VB form that will complete the web form as the vb form will be loading info to our mainframe system and a database the issue is with the first part. I have it completeing the web form then it submits the info and after it submits the info it needs to get some more info from the page but it appears that it has a timing issue the program trys to get the information before the page has completed loading.
I even have tried to do this on the Document_Complete
Any help with this would be greatly appreciated.
I even have tried to do this on the Document_Complete
Any help with this would be greatly appreciated.
Code:
With WebBrowser.Document.Forms("OMNIWebMainForm")
.Item("_ctl1_txtLoanNumberQuery").Value = mskLoanNumber
.Item("_ctl1:btnGo").Click
Do Until WebBrowser.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
End With
x = WebBrowser.Document.getElementById ("txtborrowerfirst").Value
lblBrName.Caption = x