RE: [IronPython] Word Automation

2005-06-20 Thread Martin Maly
Hi, Tim already answered the first problem you faced, let's see if I can help with the others. >> I do not understand why I cannot iterate in the collection of Documents While the collection you get back may (and I am not sure whether it does or not) inherit from IEnumerable, the code I put in I

Re: [IronPython] Word Automation

2005-06-19 Thread Tim Riley
> >> mApp.Documents.Open("c:\tmp\Doc1.doc") > >>> > >>> > System.Runtime.InteropServices.COMException: The document name or path is not > va > lid. > Try one or more of the following: > * Check the path to make sure it was typed correctly. > (c:mp\Doc1.doc)click Open. Search for the file

[IronPython] Word Automation

2005-06-19 Thread kbond
Hello, Congratulation, for this new release correcting some bugs around the "PIA ComObject Operations". I spent the last hours playing around with this great feature of ironpython and I would like to share with you a couple of things. Some are working fine some seems strange to me but it might

RE: [IronPython] word Automation

2005-05-17 Thread Martin Maly
arlanoSent: Sunday, May 15, 2005 7:13 AMTo: Discussion of IronPythonSubject: Re: [IronPython] word Automation Hello,I finally found sometime this weekend to check out IronPython's support for the Office2003 PIA's. Final impression is that somethings work, but most didn't.

Re: [IronPython] word Automation

2005-05-15 Thread Anthony Tarlano
Hello, I finally found sometime this weekend to check out IronPython's support for the Office2003 PIA's. Final impression is that somethings work, but most didn't. Here's a link to the bug I opened showing a small amount of interaction with the word application class via the console. AnthonyOn

Re: [IronPython] Word Automation

2005-05-10 Thread Anthony Tarlano
Yann, I found the information that I needed concorning the Office 2003 primary interop assemblies (PIAs) at http://msdn.microsoft.com/library/default.asp?url="" I have not had a chance to look into the PIA deeper, but I will try to get to is as soon as I find sometime.. Regards, AnthonyOn 5/9/

[IronPython] Word Automation

2005-05-09 Thread Yann
Hello Anthony, Since I am not sure to understand you request: If you tell me how to get the assembly having "Microsoft.Office.Interop.Word" I will try it out for you and post back the code snippet. I googled to find some answers. Here it is what I found:http://msdn.microsoft.com/library/default.a

Re: [IronPython] word Automation

2005-05-09 Thread Anthony Tarlano
That should have read "you should not just translate the..." AnthonyOn 5/9/05, Anthony Tarlano <[EMAIL PROTECTED]> wrote: Hi, Yes it should work, but I don't have the correct assembly to be able to test it. You should remember that you should just translate the code from VB to IronPython. IronPy

Re: [IronPython] word Automation

2005-05-09 Thread Anthony Tarlano
Hi, Yes it should work, but I don't have the correct assembly to be able to test it. You should remember that you should just translate the code from VB to IronPython. IronPython is a dynamically bound language, so you don't have to do things like declaring the local variable oWord (i.e. 'oWord =

[IronPython] word Automation

2005-05-08 Thread kbond
Hello, First congratulation of all, thank you for the tremendous work that you have already done. I am looking forward the day where I will be able to translate all my MS office automation in python scripts. Am I correct I say that iron python will allow it? So today I try to give it a try but