469,270 Members | 1,695 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

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

tc
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
Nov 15 '05 #1
2 1408
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]
- mv*@spam.guard.caspershouse.com

"tc" <yw****@hkem.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 15 '05 #2
Is this available for all Office family (Excel, PowerPoint,...) and versions
(2000, XP, 2003)...?

Thanks,
Bill
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"tc" <yw****@hkem.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by sudha | last post: by
10 posts views Thread by ┼×enol Akbulak | last post: by
4 posts views Thread by Fabian | last post: by
1 post views Thread by fab | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.