I want to set a value of combobox in web browser.

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
i am creating a web browser for my organization.
in vb.net browser when i open a website. it has a contact us form with A combo box.

i want to set the value of combo box using this code. but it is not working
<pre class="prettyprint lang-vb WebBrowser1.Document.GetElementById("type").SetAttribute("value", "Mr")[/code]
<br/>
Please help me.
<hr class="sig Ali Usman

View the full article
 
Back
Top