Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB to Web Form

Status
Not open for further replies.

JamesDSM50328

Technical User
Mar 25, 2005
33
US
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.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top