Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: 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

Accessing Python or DLLs from Word
"Goran" <goran[ at ]bokverket.com> 03.03.2006 20:24:00
I am experimenting with an app which is to process large Word doc's, and
needs the dictionary objects available in Python (and C++). Is there a way
to make a Python app or a DLL appear like a macro within Word; is VBA a good
"glue" to access that Python app, or just dumb? If so, how do I call the
part which is in the other language from Word?

Or are there other better architectures?

Best,

Goran


Re: Accessing Python or DLLs from Word
"Jezebel" <warcrimes[ at ]whitehouse.gov> 04.03.2006 04:43:45
Don't know anything about Python. You can register a DLL (or any compliant
library file) in VBA through Tools > References. The functions within the
DLL can then be called from within VBA. They don't appear directly as
macros. You need to write wrapper functions (ie a macro that calls the DLL
function).



"Goran" <goran[ at ]bokverket.com> wrote in message
news:AB1Of.46939$d5.203618[ at ]newsb.telia.net...
[Quoted Text]
>I am experimenting with an app which is to process large Word doc's, and
> needs the dictionary objects available in Python (and C++). Is there a way
> to make a Python app or a DLL appear like a macro within Word; is VBA a
> good
> "glue" to access that Python app, or just dumb? If so, how do I call the
> part which is in the other language from Word?
>
> Or are there other better architectures?
>
> Best,
>
> Goran
>
>


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