Help please..Can anybody please give me links to a good article or sample on how to write something in MS Word. Thanks in advance!
Printable View
Help please..Can anybody please give me links to a good article or sample on how to write something in MS Word. Thanks in advance!
Like my Office Development FAQ? :D
Here is one for using C# with Office - http://vbforums.com/showthread.php?t=406639
Thanks for that RobDog888, But it would be better if the sample is for MS Word and not for Excel. Thanks very much though!
Here are some links that you might find useful.
http://www.c-sharpcorner.com/UploadF...ingCSharp.aspx
http://www.c-sharpcorner.com/UploadF...4-63572d8cc112
http://support.microsoft.com/kb/316384
Its basically the same thing. All of Office is built on a common Office Object Model. Just the functions and properties are a bit different for different office apps.Quote:
Originally Posted by daimous
if you want to write to word without depending on office look at WordML, docx formats. they work for word 2003 onwards but are essentially just writing XML files.
docx format is for Word 2007 and is only compatible with 2007 forward. There is a Word viewer but you cant write docs with it. Using the XML compressed structure of docx files you can write 2007 word documents without having word installed but again, 2007 only.
Edit: WOOT! 44,000 Posts