How can I open and modify MS word file in .NET application?

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
N

Nicholas Paldino [.NET/C# MVP]

tc,

You will want to add a reference to the Microsoft Office library as well
as the Microsoft Word Object library (under the COM tab when you add
references). Once you do that, you will be able to access Word using COM
interop and then load and modify your document.

Hope this helps.
 
I would like to create an application that can modify the content and
style(e.g. font size, font, style) in a MS Word document. Can anyone give me
some idea/reference?

thanks
 
Is this available for all Office family (Excel, PowerPoint,...) and versions
(2000, XP, 2003)...?

Thanks,
Bill


Nicholas Paldino said:
tc,

You will want to add a reference to the Microsoft Office library as well
as the Microsoft Word Object library (under the COM tab when you add
references). Once you do that, you will be able to access Word using COM
interop and then load and modify your document.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

tc said:
I would like to create an application that can modify the content and
style(e.g. font size, font, style) in a MS Word document. Can anyone
give
me
some idea/reference?

thanks
 
Back
Top