title: GeckoWebBrowser and HtmlElementCollection
body: <p>I'm new with GeckoBrowser. The problem is in my <code>SetText</code> method:</p>
  
  <pre><code>void SetText(string attribute, string attName, string value)
  {
      // Get a collection of all the tags with name "input";
      HtmlElementCollection tagsCollection =
              geckoWebBrowser1.Document.GetElementsByTagName("input");
  
      foreach (HtmlElement currentTag in tagsCollection)
      {
          // If the attribute of the current tag has the name attName
          if (currentTag.GetAttribute(attribute).Equals(attName))
          {
              // Then set its attribute "value".
              currentTag.SetAttribute("value", value);
              currentTag.Focus();
          }
      }
  }
  </code></pre>
  
  <p>But I am getting an error on this line:</p>
  
  <pre><code>HtmlElementCollection tagsCollection =
          geckoWebBrowser1.Document.GetElementsByTagName("input");
  </code></pre>
  
  <p>The error is:</p>
  
  <pre>
  Cannot implicitly convert type 'Skybound.Gecko.GeckoElementCollection'
      to 'System.Windows.Forms.HtmlElementCollection'
  </pre>
  
  <p>Any ideas how to work around this?</p>