Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
how to edit word document(Fill Forms in word) using c# without microsoft word dll reference.

this is my today's task. But i couldn't find any solution.Please give answer if you know ASAP.

Thanks in Advance.


What I have tried:

I searched all the website and r&d this. but didnt get any solutions. all the solution used Interop dll. Please help
Posted
Updated 7-Apr-16 0:31am
Comments
Philippe Mori 7-Apr-16 22:56pm    
There are many options to do that. It is up to you to find which one best fit your need. There is Open XML SDK which is low level.

1 solution

check this DocX[^] without using Interop dll.
 
Share this answer
 
Comments
TinkerBelly 7-Apr-16 6:28am    
Is any other solution there other than DocX??
Karthik_Mahalingam 7-Apr-16 6:32am    
Might be.
But I am using this In my project.it's good.
I will let you know if I find any other..
TinkerBelly 7-Apr-16 6:37am    
Oh thank You so much.. and please tell me how to use this since im a fresher.. Thanks in Advance
Mario Z 8-Apr-16 1:20am    
KARTHIK I just wanted to give you a heads up.
Even though I never used that library I am familiar with it, actually with its resulting DOCX documents and unfortunately I must say that on quite a few occasions it produced an invalid document.

Now what saves it is that commonly those documents will be opened with MS Word which is smart enough to silently repair those documents for you.
However note that if those documents are first opened in some other Word application (for example OpenOffice Writer) you'll receive an error or you'll loose some content when the document is rendered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900