title: VB select from drop down menu in web browser
body: <p>I created a simple form with 4 <code>TextBox</code> and 1 <code>Button</code>.</p>
  
  <p>I'm trying to fill a form in a web page.</p>
  
  <p>I successfully filled all the 'normal' text boxes, but I also have a drop down menu for date and month which I don't know how to make it select from the drop down menu.</p>
  
  <p>For normal text, I did this and it worked:</p>
  
  <pre><code>WebBrowser1.Document.GetElementById("id").InnerText = tz.Text$
  </code></pre>
  
  <p>and then I tried the same for the drop down menu, didn't work:</p>
  
  <pre><code>WebBrowser1.Document.GetElementById("month").InnerHtml = month.Text$
  
  WebBrowser1.Document.GetElementById("year").InnerHtml = year.Text$
  </code></pre>
  
  <p>I have 2 <code>ComboBox</code> with the names 'month' and 'year'.</p>
  
  <p>I checked the element <code>ID</code> by inspecting the drop down menu from the web page, but when ever I select month and year from my combo box and send it, it will fill the date form with nothing (NULL).</p>