[IronPython] COM Object Issue

2008-12-11 Thread Zaur Shibzoukhov
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

Re: [IronPython] COM Object Issue

2008-11-26 Thread Dino Viehland
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

Re: [IronPython] COM Object Issue

2008-11-26 Thread Vernon Cole
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

Re: [IronPython] COM Object Issue

2008-11-26 Thread Zaur Shibzoukhov
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

Re: [IronPython] COM Object Issue

2008-10-27 Thread Dino Viehland
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

Re: [IronPython] COM Object Issue

2008-10-27 Thread Dino Viehland
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 "

[IronPython] COM Object Issue

2008-10-27 Thread Zaur Shibzoukhov
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