jm50328 0 Newbie Poster

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.
Any help with this would be greatly appreciated.

With Web1.Document.Forms("OMNIWebMainForm")
   .Item("_ctl1_txtLoanNumberQuery").Value = mskLoanNumber    
   .Item("_ctl1:btnGo").Click
   Do Until Web1.ReadyState = READYSTATE_COMPLETE
      DoEvents
   Loop 
End With
x = Web1.Document.getElementById("txtborrowerfirst").Value
lblBrName.Caption = x