Re: [IronPython] i thought this is odd: using Interop on Microsoft Word

2007-11-02 Thread Kelie
On Nov 1, 10:14 pm, Shri Borde <[EMAIL PROTECTED]> wrote: > This could be fixed in IronPython but currently its expected. > > docs[1] is calling into this indexer in Microsoft.Office.Interop.Word.dll. > The indexer method takes the index by-reference. Ie as "object&" instead of > just "object".

Re: [IronPython] i thought this is odd: using Interop on Microsoft Word

2007-11-02 Thread Shri Borde
ameter. I have opened http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=13641 to track this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelie Sent: Friday, November 02, 2007 12:45 AM To: IronPython Users Subject: [IronPyt

[IronPython] i thought this is odd: using Interop on Microsoft Word

2007-11-01 Thread Kelie
Hello group, import clr clr.AddReference("Microsoft.Office.Interop.Word") import Microsoft.Office.Interop.Word as Word _progid_ = "Word.Application" def get_active_object(progid): from System.Runtime.InteropServices import Marshal try: app = Marshal.GetActiveObject(progid) ex