title: run Python functions from vb.net
body: <p>I am new with vb.net. I am trying to call python functions from vb.net but getting  error that 'Invoke' is not a member of 'Microsoft.Scripting.Hosting.ObjectOperations' </p>
  
  <pre><code>Imports Microsoft.Scripting
  Imports Microsoft.Scripting.Hosting
  Imports IronPython.Hosting
  Sub Main
   Dim engine As ScriptEngine
          Dim scope As ScriptScope
          Dim i As Integer
  
  
          engine = Python.CreateEngine()
          scope = engine.ExecuteFile("C:\Working.py")
   Dim v = engine.Operations.Invoke(scope.GetVariable(methodName))
  </code></pre>
  
  <p>' name of the method thaT NEEDS TO INVOKED AND GET THE RETURN VALUE.
   Can anyone please  recommend me better way to make this work? I have already seen this link :<a href="http://msmvps.com/blogs/theproblemsolver/archive/2008/08/14/calling-ironpython-functions-from-net.aspx">http://msmvps.com/blogs/theproblemsolver/archive/2008/08/14/calling-ironpython-functions-from-net.aspx</a></p>
  
  <p>Thank you in advance. </p>