title: Retrieve return value of a Javascript function in the WebBrowser control in vb6
body: <p>I have a vb6 application,</p>
  
  <p>I make a function call with WebBrowser script but I need to get the return value of that function</p>
  
  <p>my current function is</p>
  
  <pre><code>v = WebBrowser1.Document.parentWindow("v = function(){return callOther();};v()");
  </code></pre>
  
  <p>Then, i need the v value.. the posible value is javascript function.</p>
  
  <p>How to retrieve "v", my test response with Error 91 (Object variable with block variable no set).. i'm beginner with vb6. </p>