title: WPF - Call a Javascript in a WebBrowser
body: <p>I have a WebBrowser control in my WPF Descktop Aplication, i need to open this webbrowser in the form starts and make this code to do this:</p>
  
  <pre><code>public LibrasPlayer()
  {
      InitializeComponent();
      LibrasPlayerWeb.LoadCompleted += webb_LoadCompleted;
  }
  
  void webb_LoadCompleted(object sender, NavigationEventArgs e)
  {
      LibrasPlayerWeb.InvokeScript("stop");
  }  
  </code></pre>
  
  <p>But when the code reach in "LibrasPlayerWeb.InvokeScript("stop");" have an error of (DISP_E_UNKNOWNNAME)), this web page use Javascript to comunicate with a java engine to make a player of libras language, but all of InvokeScripts (Stop, Start, and other methods) give me this error.</p>
  
  <p>Someone have any idea about how i can work with this?</p>