Environmental Setting 1. Install office 2003 2. Install office 2003 Primary Interop Assemblies (PIA) 3. Add a new user named such as Impersonate with administrative authorization 4. Add new folders C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop and add Network Service and Impersonate with read and write access for these two folders ASP.Net Setting 1. Add <identity impersonate="true" userName="Impersonate" password="1234"></identity> in <system.web> of the web.config 2. Add a COM reference of Microsoft Word 11.0 Object Library 3. Now you can use Microsoft.Office.Interop.Word.Application
Jobs said: There's no reason not to follow your heart.