Need help with code
Posted: Tue Oct 23, 2012 1:14 am
Hi guys I am have some issues with a code. The code is retreving a peice of code from a web site
I am using the code to retrive the output
site code
now the problem os that the C0 can be diferent things like a,b,c,d,e,f and tose are from 1 to 20
It would be nice if the text box actuly only showed the selected one in this example the textbox.text would be equal to A1
I am using the code to retrive the output
Code: Select all
textbox.text = WebBrowser2.Document.GetElementById("OutputHistory").InnerHtml
site code
Code: Select all
now i want to retreve just the C0 in the code to a text box in visual <td width="25%">
<select size="4" name="OutputHistory" id="OutputHistory" style="height:300px;width:100%;">
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value="">C0</option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option selected="selected" value="A1">A1</option>
now the problem os that the C0 can be diferent things like a,b,c,d,e,f and tose are from 1 to 20
It would be nice if the text box actuly only showed the selected one in this example the textbox.text would be equal to A1