I am trying to open the content of a WORD file from C#.NET which resides
in the REMOTE SERVER, however I get an error:
"System.Runtime .InteropService s.COMException: Server execution failed"
when declaring new Word.Applicatio nClass().
string fileName = this.btnWorkOrd er1.Value;
object readOnly = false;
object isVisible = false;
object saveChanges = false;
object missing = System.Reflecti on.Missing.Valu e;
object dynamic = 2;
//error here:
Word.Applicatio nClass oWordApp = new Word.Applicatio nClass();
Word.Document oWordDoc = oWordApp.Docume nts.Open(ref file, ref missing,
ref readOnly, ref missing, ref missing, ref missing, ref missing, ref
missing, ref missing,
ref missing, ref missing, ref isVisible);
Does anybody know how to solve it? Please help!!!
Thanks alot!!!
*** Sent via Developersdex http://www.developersdex.com ***