I just discovered strange thing with COM (IP 2.0):
D:\Downloads\IronPython-2.0-Bin\IronPython-2.0>ipy.exe
-X:ExceptionDetail -X:ShowClrExceptions
IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import System
>>> wt=System.T
PROTECTED]
Sent: Wednesday, November 26, 2008 7:51 AM
To: Discussion of IronPython
Subject: Re: [IronPython] COM Object Issue
That's a really fine question. I had to change all of my COM item access twice
now in adodbapi. I finally ended up using a function, because iron python and c
python are
That's a really fine question. I had to change all of my COM item access
twice now in adodbapi. I finally ended up using a function, because iron
python and c python are so different in this area. My current code is:
if onIronPython:
def getIndexedValue(obj,index):
return obj.Item[index
October 27, 2008 7:44 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] COM Object Issue
>
> Is the exception you're seeing "Error while invoking Item"? Just want to
> make sure I'm seeing the same thing and the actual exception is cut off in
> your sn
27, 2008 7:44 AM
To: Discussion of IronPython
Subject: Re: [IronPython] COM Object Issue
Is the exception you're seeing "Error while invoking Item"? Just want to make
sure I'm seeing the same thing and the actual exception is cut off in your
snippet below.
-Original Mess
zoukhov
Sent: Monday, October 27, 2008 12:51 AM
To: users@lists.ironpython.com
Subject: [IronPython] COM Object Issue
There is an error in RC 1:
IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "
There is an error in RC 1:
IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import System
>>> wa =
>>> System.Activator.CreateInstance(System.Type.GetTypeFromProgID("Word.Application"))
>>> wd = wa.Documents.Add()
>>> wd.Va