TOM / ITextDocument from Word?

T

Tim

I cannot get the sample code from microsoft's example here of looking up in
the running object table by window handle for a Word's ITextDocument

http://msdn.microsoft.com/library/e...edit/textobjectmodel/abouttextobjectmodel.asp

(scroll midway down to subtitle: Interface from Running Object Table)

I suspect the example code is in error as CreateFileMoniker makes no mention
of working with a windows handle number passed as a hex string as the
example shows...

Can anyone confirm it works or doesnt work or tell me how to accomplish
getting the ITextDocument of Word (whose windows handle you have) another
way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top