I am using and fairly new to Vb 2010. My project involves lauching a secure website in a WebBrowser window, logging in and then populating data fields based on data that is in my Access database. Everything works great up to a point, which is where I am hoping the readers in this forum can help. I will post some of the Webpage code below after a brief explaination of my problem.
When I launch a new quote, the website opens a new page (which I redirect to a second tab and WebBrowser window. This is where the data fields are that I need to populate. However, my VB code can only see the frame at the top of the page (the page header). The data fields are located on one of three webpage tabs and the first one which is where I need to begin my data entry is called "Location". I have confirmed this is the problem both by selecting edit - view source and by insrting code in my vbapplication that opens a page and displays all of the html code for that page.
So my question really boils down to: How do I get the Webpage to show the internal code for the tab that contains the data fields to be updated instead of just the headder section at the top of the page?
Thank you for any help!
Some of the code from the Website:
Code for the tabs:
</form> <!-- BEGIN HEADER --> <div id="divDateQuotedString" style="display: none;"> </div> <div id="divTabUrlsJSONString" style="display: none;">[{"TabText":"Location","URL":"Location.aspx?pageCd=policytabs","TabCd":"p_location","TabKey":"b1698611-ba07-4998-aa1b-9700c8fbcbe0","HasEditErrors":"False","HasUwErrors":"False","IsVisible":"True","TransTypeCd":"B","IsStartingTab":false},{"TabText":"Property","URL":"HO/HOPolicyProperty.aspx?pageCd=policytabs","TabCd":"hop_property","TabKey":"bd378167-e0d6-4333-b799-54b5a4a1fc07","HasEditErrors":"False","HasUwErrors":"False","IsVisible":"True","TransTypeCd":"B","IsStartingTab":false},{"TabText":"Coverages","URL":"Coverages.aspx?pageCd=policytabs","TabCd":"p_coverages","TabKey":"7cee9468-c588-4e5b-8dcb-493cb9d7fa3b","HasEditErrors":"False","HasUwErrors":"False","IsVisible":"True","TransTypeCd":"B","IsStartingTab":false},{"TabText":"UW Questions","URL":"HO/HOUWQuestions.aspx?pageCd=policytabs","TabCd":"hop_uwquestions","TabKey":"34a1ff92-f0cb-4616-b4dd-4fadbd18b573","HasEditErrors":"False","HasUwErrors":"False","IsVisible":"True","TransTypeCd":"
Code listing various JavaScripts:
</title><link href="CSS/Version3/Stylesheet2.css" rel="stylesheet" type="text/css" /><link
href="jQuery/css/jquery-ui-1.8.custom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="jQuery/json2.js"></script>
<script type="text/javascript" language="javascript" src="jQuery/jquery.js"></script>
<script type="text/javascript" language="javascript" src="jQuery/jquery-ui-1.8.custom.min.js"></script>
<script type="text/javascript" language="javascript" src="Location.js"></script>
<script type="text/javascript" language="javascript" src="Scripts/PageCommon.js"></script>
<script type="text/javascript" language="Javascript" src="Utilities.js"></script>
<script type="text/javascript" language="Javascript" src="Page.js"></script>
<script type="text/javascript" language="Javascript" src="Scripts/AjaxEventHandler.js"></script>