vb,bet how to open and get text from a word docx file

Posted on 2012-03-20
Last Modified: 2012-03-26
I want to know how from a project how I can open a docx file and get its text. I eventually want to write a function to search it.
Question by:glenn_r
LVL 69

Expert Comment

by:Éric Moreau
ID: 37744137

Assisted Solution

effes earned 250 total points
ID: 37744191
Microsoft has released an Open XML SDK.
I have never actually used it, but it can't hurt to have a look at that.
LVL 29

Accepted Solution

anarki_jimbel earned 250 total points
ID: 37744804

Author Comment

ID: 37744812
Looks like you need ms/word installed in order to use that
LVL 29

Expert Comment

ID: 37745398
You may need primary interop assemblies.
It may, probably,  depend on what .Net version you use...

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now