Working on with word files
-
Hi all, I have a word file in a format (means some text ans a table, etc...) and I want to create different files by changing different places on it. How can I do this in C#. I've heard that dot file use as templates and work on. But I couldn't find any article. Can anyone of you guide me. Thanks.
I appreciate your help all the time... CodingLover :)
-
Hi all, I have a word file in a format (means some text ans a table, etc...) and I want to create different files by changing different places on it. How can I do this in C#. I've heard that dot file use as templates and work on. But I couldn't find any article. Can anyone of you guide me. Thanks.
I appreciate your help all the time... CodingLover :)
The nmost likely API set you want is the VSTO interface from Microsoft. It's a .NET Interop Assembly to the MS Office COM API's. It is an enormous set of API's, a COM wrapper with all the COM pitfalls plus the myriad versions of MS Office, so test thoroughly. There is a ton of information on using VSTO you can find on the web. Here is a starting point: http://msdn.microsoft.com/en-us/vsto/dd164295.aspx[^] -- Christo
-
The nmost likely API set you want is the VSTO interface from Microsoft. It's a .NET Interop Assembly to the MS Office COM API's. It is an enormous set of API's, a COM wrapper with all the COM pitfalls plus the myriad versions of MS Office, so test thoroughly. There is a ton of information on using VSTO you can find on the web. Here is a starting point: http://msdn.microsoft.com/en-us/vsto/dd164295.aspx[^] -- Christo
Thanks a lot. I'll go through it and let you know if I'm stuck on anything.
I appreciate your help all the time... CodingLover :)
-
Thanks a lot. I'll go through it and let you know if I'm stuck on anything.
I appreciate your help all the time... CodingLover :)
Hey, no problem. VSTO is pretty huge -- there are many API's for each of the Microsoft Office applications, particularly Word and Excel. As a tip, I've found one is better off using Google or some other web search engine to ask questions about VSTO API's and how to do things. Programmers frequently post questions about VSTO workings, and the programmers' forums on the web (including CodeProject!) are often a much better resource than the Microsoft documentation. VSTO is an interop assembly for the long term established COM interface to Office, it has been under development for a long, long, time, and it is enormous.