Office Word Programming >> API's for Word

by goranf » Tue, 08 Feb 2005 03:23:05 GMT

Are there published programming interfaces for Word in C++ and C#,
like the one that exists for VB? If so, where?

Can code written in C# be accessed easily as a menu command in Word,
or provisionally from the macro list?

Word = Word 2002 in my case.

Best,
Goran


Similar Threads

1. How to use win32 api's for modifying reading pane using shared outlook 2003 addin and c#

2. open word applecation in wss through word api(secuity issues)

hi,

I want to open a word document which is in shaepoint programmatically
and add some custom properties, I tried using word api to open word
document , my code below:

object oMissing = Type.Missing;
object oVisible = true;
Word.ApplicationClass wordAppObj = new Word.ApplicationClass();
wordDocObj = wordAppObj.Documents.Open(ref oFilename, ref oMissing, ref
oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref
oMissing, ref oMissing, ref oMissing, ref oMissing, ref visible, ref
oMissing, ref oMissing, ref oMissing, ref oMissing);

i am getting security isses like
-----------Access denied-----------

when i try my program in console applcation  i can open word document,
but when i am using in webservice or class library project i am getting
this securtity error. please tell me whether i am missing any
authentication settings.

thanks
sathya narayanan v

3. FormatPicture in Word.Basic API does not work in Word 2007 - Word VBA

4. Can you compare 2 word docs on server using API (i.e Word NOT inst

Hi,

Is there a way to compare 2 Word 2007 documents on the server without having 
Word installed on the server?  I want to compare 2 docs and and have the 
second doc have the changes appear in it via "Track Changes" (or a new doc 
could be created with the merged with the tracked changes?

I have looked all over and can't seem to find this being done but it would 
appear that it is a very common thing to do.

This may not be the right forum for this as I actually want to do it outside 
of VSTO solution framework using a regular assembly on the server.  If this 
is not the correct forum then where should I post it?

Thanks alot in advance for your help.

Jim
-- 
jbstrive

5. Opening a word file with Access 2000 - Help with API

6. Problem sending Word documents using the Extended Fax Service COM API

Hi everybody,

I did an ASP.NET application to send a fax using the Extended Fax Service
COM API. I am running Windows XP.

The problem is: When I send Text files, it mens, the FaxDocument.Body
property is set to a text file, the fax works fine, but when I try to send
other type of file, like Word documents, it fails. I submit the form and
have no ansewrs, no error code, it just doesn't return anymore.

Sometimes I can see a WINWORD process runing in the ASPNET account. The
documentation of the API said I am able to send Word documents.

Does anybody have an idea about whats is happening?

Cheers,

Fabrio


7. How Can I convert rtf to pdf without use word api - Microsoft .NET Framework

8. Problem sending Word documents using the Extended Fax Service COM API

Hi everybody,

I did an ASP.NET application to send a fax using the Extended Fax Service
COM API. I am running Windows XP.

The problem is: When I send Text files, it mens, the FaxDocument.Body
property is set to a text file, the fax works fine, but when I try to send
other type of file, like Word documents, it fails. I submit the form and
have no ansewrs, no error code, it just doesn't return anymore.

Sometimes I can see a WINWORD process runing in the ASPNET account. The
documentation of the API said I am able to send Word documents.

Does anybody have an idea about whats is happening?

Cheers,

Fabrio