Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Accessing Python or DLLs from Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Goran - 03 Mar 2006 20:24 GMT
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
Jezebel - 04 Mar 2006 04:43 GMT
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).

>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
[quoted text clipped - 8 lines]
>
> Goran
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.