Author: Suan Ngaihte | Posted on: 1/22/2009 9:39:40 PM | Views : 269

Dear Friends,
I am using VS-2005 and MSOffice - 11 (MSWORD) in my ASP.Net project with C#. In my application I have to export data into MS-Word document and then open the document for the user to modify and print. Data is exported to Word document perfectly without much problem. The problem I face is when I publish my web application on the deployment server and test it my a client machine, it launches Word document on the server machine, not in my client machine. What I mean is that when I send a command to open the generated document it opens on the server machine. The code which I use for opening (launching) word document is as follow:
 
1 public void Open(string strFileName)
2 {
3 try
4 {
5 object fileName = strFileName;
Go to the complete details ...