title: Send keys in VB6 not working on textbox
body: <p>I have a webbrowser in VB6 that displays a web site from a third party company. I´m trying to paste text inside this website's textboxes with the code:</p>
  
  <pre><code>mainFrm.wbr(1).SetFocus
  SendKeys "10"
  </code></pre>
  
  <p>It is working on most textboxes, except for one that has some keys disabled by the javascript funcion:</p>
  
  <pre><code>function only_numbers()
  {
      var key=window.event.keycode;
      if (key &lt; 48 || key &gt; 57)
      {
          if(key != 44 || key != 8 || key != 46 || key != 96)
          {
              window.event.keycode=0;
          }
      }
  }
  </code></pre>
  
  <p>Is there a way to bypass this script? Or maybe another way of setting the text of the textbox?</p>
  
  <p>Thanks in advance.</p>