Home > Ask the Microsoft .Net Development Experts > ASP.NET and Web Development Questions & Answers > Reading a Word document line-by-line
Ask The Win Development Expert: Questions & Answers
EMAIL THIS

Reading a Word document line-by-line

Daniel Cazzulino EXPERT RESPONSE FROM: Daniel Cazzulino

Pose a Question
Other Win Development Categories
Meet all Win Development Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 22 November 2004
I would like to ask about one of your articles:
http://searchwebservices.techtarget.com/vsnetATEAnswers/0%2C293820%2Csid8_gci932830_tax293672%2C00.html

I too have the same problem, but I didn't get your concept or idea. Could you please elaborate a little? I will appreciate if you could direct me to a working example, code or whatever.

>
The idea is that whenever you need to open Word, you use the automation objects it exposes (COM objects). You can simply reference the Word library from the Add References dialog for your project. There's a lot of material on the Internet on how to use these objects. The example I gave is a working example on how to achieve a solution to the problem. Do you have any problems getting it to run?

Another approach is to save Word documents (2003 version) as XML files. This means you can open and query the document using XmlDocument/XPathDocument very easily. You can also convert such XML into HTML using an XSLT transformation (see here for more information).


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
ASP.NET and Web Development
Top ASP.NET expert advice from Danny Cazzulino
Access VB .NET Windows control on client side
Drop down list server control creates error message
Take care with InitializeComponent
Calling via command prompt from ASP.NET
Screen capturing
How to retrieve the MAC address of a client using ASP.NET
How to sort a dropdown list in ASP.NET
Accessing session variables in different pages
Automatically closing a .exe

ASP.NET
Top ASP.NET expert advice from Danny Cazzulino
Access VB .NET Windows control on client side
Drop down list server control creates error message
How to retrieve the MAC address of a client using ASP.NET
How to sort a dropdown list in ASP.NET
Accessing session variables in different pages
Automatically closing a .exe
Accessing a control on an independent application
Checking input by character to verify validity
Referencing an old Crystal Reports version

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Windows Development - White Papers, News and Expert Advice
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts