Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i handle microsoft office word in asp.net?
i want to load word for the client in ie and when clicke the save ,automaticly save the word page on the server.
Also how can i handle the bookmark in word,for example i want to fetch data and show in the word file in special location
(i now it's possible with Bookmark in word,but i dont know how can i do it).
Posted
Updated 11-Jan-12 5:09am
v5
Comments
R. Giskard Reventlov 9-Jan-12 14:08pm    
What have you already researched/tried?
Vivek Krishnamurthy 9-Jan-12 15:24pm    
Question is not clear, are you trying to just upload a word document form client to server ? Or doing any more operations on that.
bahman7210 9-Jan-12 16:37pm    
No,i have some word file on the server and i want the user could to open it,and edit.(like sharepoint)
Sergey Alexandrovich Kryukov 9-Jan-12 19:13pm    
Why Word? Office uses proprietary formats which are pretty much foreign to the Web.
--SA
Kethu Sasikanth 9-Jan-12 21:53pm    
You would like to use word at client side and server side also (to save word doc). I'm not 100% sure about the solution. But you can try Open XML format for this. Also placing data items at bookmark location was done using a mailmerge feature in the past.

 
Share this answer
 
At the end of the day, you can't do what I think you are trying to do. You can't "push" a copy of the Word application to a client browser that way. If the user is going to edit a Word document on the client machine, then the client machine is going to have to have Word installed.

That being said, what you can do is use some sort of a browser based Html or Rtf editor which can then be used to post-back the content to the server where you can save the content as a Word document on your server and/or return the completed document to the client in the Response.
 
Share this answer
 
Comments
bahman7210 11-Jan-12 11:56am    
Yes,i did it many timesago,and it had many error.
first-must client installed the microsoft office.
u must write some code for microsoft word(u must create word file like template)

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