Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: Re: Best way to work with a Word doc in another language, WAS: Accessing Python or DLLs from Word

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Re: Best way to work with a Word doc in another language, WAS: Accessing Python or DLLs from Word
"Goran" <goran[ at ]bokverket.com> 05.03.2006 12:47:13
Oliver Townshend wrote:

Doing it from inside Word might work. Alternative would be to open the word
document from inside python, and read through the activedocument structure,
pulling in words and then closing the document. Generally you'll want to
read up on the stuff at the msdn site and the like which has examples in C#
and VBA, and convert these to python. All you need are the type library
definitions in Word.
---

Thanks! I am not a snake lover per se, but the dictionary objects are great
and what I need for the app; possibly they are available in C# as well.

Your suggestion is kind of what I was sketching, but it would be nice to
start it up from within as Word as a menu choice. And as I wrote, I am
worried about the overhead of pulling in each word from Word to
Python/C#/C++ whatever.

Best,

Goran


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net