Skip to main content

Posts

Showing posts from June, 2008

Research

Last week i play with COM object in dot net.That is very cool. Using COM objects you can read the word document.By doing following thing you can achieve it. Steps you should follow; Add a COM reference to the project by right clicking in the solution explorer on References->Add Reference. Click on the COM tab and look for the Microsoft Word 9.0/ Microsoft Word 11.0/ Microsoft Word 12.0 Object Library. Click Select and OK. In here the object library version depends on your MS.office package what you have installed in your machine .example: If it s Office 2007 the Microsoft Word 12.0 Object Library <--------Source Code--------------> using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.ComponentModel; using Word = Microsoft.Office.Interop.Word; public partial class _Default : System.W