I'd like to be able, among other things, to attach a custom form to a
client record in Outlook that pulls data from a database and I like to
do it in my favorite language - Python.  I know you can do this with
win32 as Spambayes proves, is it also possible for IronPython without
having to code in C#?  I also want to be able to target Excel in a
similar way.

Thanks for all your answers,

Mats

On Tue, Apr 20, 2010 at 1:29 AM, Jimmy Schementi
<jimmy.scheme...@microsoft.com> wrote:
> Mats,
>
> The way to write a Office add-in is to create one in a static .NET language, 
> like C#, and then use the DLR hosting APIs to run Python code, which would 
> also involve exposing whatever Office APIs to script code. I believe VS Pro 
> and above support creating new Office add-in projects, so getting started 
> there should be easy if you have the proper tools. Then getting that add-in 
> to host Python code is just a matter of getting familiar with the DLR hosting 
> API, which you can do by reading the spec 
> (http://dlr.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=97301) 
> and looking at the "BadPaint" sample 
> (http://ironpython.codeplex.com/releases/view/36280#DownloadId=116523) which 
> shows how to embed IronPython in a C# app.
>
> Good luck!
>
> ~Jimmy
>
> On Apr 20, 2010, at 12:22 AM, "Saveen Reddy" <save...@microsoft.com> wrote:
>
>> I once wrote an Office Add-In for Visio 2007 that hosted IronPython. Can you 
>> provide some context around the kind of add-in are you thinking about 
>> creating and how do see it making use of IronPython?
>>
>> Thanks,
>> -Saveen
>> ________________________________________
>> From: users-boun...@lists.ironpython.com 
>> [users-boun...@lists.ironpython.com] on behalf of Mats [m...@ronin-group.org]
>> Sent: Monday, April 19, 2010 4:28 PM
>> To: users@lists.ironpython.com
>> Subject: [IronPython] Office add-in with IronPython?
>>
>> I've search all over for an example and/or tutorial for writing Office 
>> add-ins
>> with IronPython to no success. Does anyone know if such a thing exist?  Or 
>> has
>> anyone made an add-in that would be willing to help me get to a minimal 
>> add-in?
>> I have very little knowledge of .Net and IronPython but have worked with 
>> CPython
>> for years.  I just installed IronPython a week or so ago and am
>> enjoying working
>> with it.
>>
>> Thanks,
>>
>> Mats
>> _______________________________________________
>> Users mailing list
>> Users@lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>> _______________________________________________
>> Users mailing list
>> Users@lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to