Read Text from WOrd

  • Thread starter Thread starter Sunil
  • Start date Start date
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
 
The first parameter expects a file path. How are you 'reading from the
database'?
 
Back
Top