![]() |
|
|
#1 |
|
Guest
Posts: n/a
|
C#, Word document
Hi,
Is there any possibility to write an application i C# to open a MS Word document (doc, docx), find any form fields and fill them, save and print modified (filled) document without Word installed? Or make that application works with Word 2k, XP, 2003 version? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: C#, Word document
Yes, but given that you want to span all of those versions, it will be
slightly difficult. The reason is because microsoft only had primary interop assemblies for versions of office back to XP. Because of this, you will have to create an interop assembly to make the calls to Word 2k yourself. Or, you could make all the calls late bound, through reflection, although you might take a performance hit by doing so. However, it would simplify making the same calls across different versions (assuming the parameter signatures of the methods you are calling are the same). -- - Nicholas Paldino [.NET/C# MVP] - "lsg" <> wrote in message news:fiblvf$kor$... > Hi, > Is there any possibility to write an application i C# to open a MS Word > document (doc, docx), find any form fields and fill them, save and print > modified (filled) document without Word installed? Or make that > application works with Word 2k, XP, 2003 version? |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: C#, Word document
"lsg" <> wrote in message
news:fiblvf$kor$... > Or make that application works with Word 2k, XP, 2003 version? Aspose can do this: -- Mark Rae ASP.NET MVP |
|
|
|
#4 |
|
Newbie
Join Date: Dec 2008
Age: 21
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() OS:
|
Re: C#, Word document
Aspose isn't cheap (>1K). use this - Invoke Solutions Ltd - Docx Library it's free and doesn't need neither COM nor P/Invoke
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |