Read Text from WOrd

S

Sunil

Hi,
I have written a code to convert word file to text and store it in the
database.
I am using the below code to open the document but the code completely hangs
there. Can you please help me what I am doing wrong?

oDoc = oWordApplic.Documents.Open(ref fileName, ref missing,ref readOnly,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing,
ref missing, ref missing, ref isVisible,ref missing,ref missing,ref
missing);

Regards
Sunil
 
A

Alvin Bruney - ASP.NET MVP

The first parameter expects a file path. How are you 'reading from the
database'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top