Hi All,

I need to be able to read a word document into a string, can someone post
some sample code or point me in the right direction please. I've googled on
this for ages and can't turn up anything useful.

Many thanks,

Re: Reading a word document into a string by Herfried

Herfried
Thu Jan 05 06:30:43 CST 2006

"Tim McOwan" <forumresponse@mcowan.info> schrieb:
> I need to be able to read a word document into a string, can someone post
> some sample code or point me in the right direction please. I've googled
> on this for ages and can't turn up anything useful.

If Word is installed:

<URL:http://dotnet.mvps.org/vb/code/misc/#WordDocText>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: Reading a word document into a string by Tim

Tim
Thu Jan 05 06:47:12 CST 2006

Sorry Herfried, I didn't mention in my post, I'd like something in any .NET
language.

Thanks in advance.



"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OBDlTPfEGHA.3468@TK2MSFTNGP15.phx.gbl...
> "Tim McOwan" <forumresponse@mcowan.info> schrieb:
>> I need to be able to read a word document into a string, can someone post
>> some sample code or point me in the right direction please. I've googled
>> on this for ages and can't turn up anything useful.
>
> If Word is installed:
>
> <URL:http://dotnet.mvps.org/vb/code/misc/#WordDocText>
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



Re: Reading a word document into a string by Herfried

Herfried
Thu Jan 05 08:54:02 CST 2006

"Tim McOwan" <forumresponse@mcowan.info> schrieb:
> Sorry Herfried, I didn't mention in my post, I'd like something in any
> .NET language.

Well, the code should work with minimal adaptions even in VB.NET or C#.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>