[IronPython] How to capture a 'Carriage Return' in a windows form ?

2009-07-01 Thread Sivaguru Perambalam
Hello , I have a Windows form with a text box and a button. What I want to implement it, when the user hits the 'Enter' key in the text box, the function that's linked to the ButtonClick event has to be invoked. Please give me like a code example of how this could be done in a simpler way, since I

Re: [IronPython] How to insert or embed a html file in to a Word doc ?

2009-06-08 Thread Sivaguru Perambalam
Update : Figured out the solution for the 1st question (embedding the html file in to a Word Doc, part ) . *BUT, I am still in need of answer for my Question 2.* Thanks! On Mon, Jun 8, 2009 at 12:32 PM, Sivaguru Perambalam wrote: > Hello, > > I am trying to embed a html file (a re

[IronPython] How to insert or embed a html file in to a Word doc ?

2009-06-08 Thread Sivaguru Perambalam
Hello, I am trying to embed a html file (a report as a result of an sql query ) in to a word document in a particular location. I am trying to get this done using the OfficeInterop & Iron Python 2.x. 1) How can I embed a html file in to a word docum

Re: [IronPython] Urgent : Unable to open MS Word file from Python

2009-06-04 Thread Sivaguru Perambalam
dn.com/shrib/archive/2008/07/30/idispatch-support-on-in-ironpython-beta-4.aspxfor > some details about using COM from IPy. > > > > Thanks, > > Shri > > > > *From:* users-boun...@lists.ironpython.com [mailto: > users-boun...@lists.ironpython.com] *On Behalf

[IronPython] Urgent : Unable to open MS Word file from Python

2009-06-03 Thread Sivaguru Perambalam
Hello, I have written this small script, which is (part of an application that is) supposed to open a MS Word Document and manipulate it (do a search and replace) . I am getting a weird exception when I try to run the script. It says TypeError: expected clr.Reference, got str for the line where I