ironpython-studio

Adding a DataGridView in IronPython Studio Winforms gets a “'DataGridView' object has no attribute 'BeginInit'”

扶醉桌前 提交于 2020-01-05 09:14:03
问题 By just adding a datagridview in IronPython Studio it triggers a "DataGridView' object has no attribute 'BeginInit'". Is there a fix for this? The errors are gone if the lines self._DataGridView1.BeginInit() and self._DataGridView1.EndInit() are deleted, but that's not what it should be done to fix that 回答1: There's no fix for this and there's likely not to be one because IronPython Studio isn't supported anymore. DataGridView.BeginInit is implemented explicitly and IronPython Studio is based

run Python functions from vb.net

别说谁变了你拦得住时间么 提交于 2019-12-22 06:49:24
问题 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' 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)) ' name of the method

How to use IronPython with Visual Studio 2008

回眸只為那壹抹淺笑 提交于 2019-12-20 08:47:01
问题 I've tried using the IronPython integration extension provided by Microsoft. But it does not work with Visual Studio 2008. Is there a proper VS 2008 IDE extension for IronPython? 回答1: For IronPython 1.1 support (whose syntax mirrors CPython 2.4), I successfully built and installed the sample from the Visual Studio 2008 SDK 1.0 with the Professional Edition of Visual Studio 2008 SP1. It will work with any edition from Standard up to Team Suite. It definitely won't work with Express Edition due

How can I fix missing IronPython project templates in Visual Studio 2010?

馋奶兔 提交于 2019-12-13 18:20:04
问题 I installed IronPython yesterday. After running Visual Studio the IronPython project template showed up but later it was gone. I've tried repairing, uninstalling, and reinstalling without fixing the issue. How can I make the templates show up? 回答1: I had a similar issue with IronPython 2.7 RTM on VS 2010 SP1. I had the python tools for VS 1.0 installed before I installed IronPython. I did the following to resolve the issue Uninstalled IronPython Uninstalled Python tools for VS Installed

run Python functions from vb.net

馋奶兔 提交于 2019-12-05 09:53:28
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' 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)) ' name of the method thaT NEEDS TO INVOKED AND GET THE RETURN VALUE. Can anyone please recommend me better way to make this

How to use IronPython with Visual Studio 2008

ε祈祈猫儿з 提交于 2019-12-02 16:51:45
I've tried using the IronPython integration extension provided by Microsoft. But it does not work with Visual Studio 2008. Is there a proper VS 2008 IDE extension for IronPython? For IronPython 1.1 support (whose syntax mirrors CPython 2.4), I successfully built and installed the sample from the Visual Studio 2008 SDK 1.0 with the Professional Edition of Visual Studio 2008 SP1. It will work with any edition from Standard up to Team Suite. It definitely won't work with Express Edition due to limitations built in to Express. For IronPython 2.0 (whose syntax mirrors CPython 2.5), there is