N
Nabeel Moeen
Hi,
Following is the code i'm using to copy contents of one word document to
another:
object missingValue = Type.Missing;
Document newDocument = _app.Documents.Add(ref missingValue, ref
missingValue, ref missingValue, ref falseObject);
_document.Content.Copy();
if (newDocument == null)
throw new ApplicationException("Could not create Word document.");
newDocument.Content.Paste();
I'm using C#, .NET 1.1 and tried it on both Office XP and OFcice 2003.
the problem is, it works fine on my machine, but on all the other machines
the call to "newDocument.Content.Paste()" throws the "Server threw an
exception" error
Err.Code 80010105
:|
I can't figure out why its working on my machine and none of the other
machine ...or the cause of the error.
Any suggestions on what the problem might be?
(I've tried Microsoft PIA for Office XP too)
Following is the code i'm using to copy contents of one word document to
another:
object missingValue = Type.Missing;
Document newDocument = _app.Documents.Add(ref missingValue, ref
missingValue, ref missingValue, ref falseObject);
_document.Content.Copy();
if (newDocument == null)
throw new ApplicationException("Could not create Word document.");
newDocument.Content.Paste();
I'm using C#, .NET 1.1 and tried it on both Office XP and OFcice 2003.
the problem is, it works fine on my machine, but on all the other machines
the call to "newDocument.Content.Paste()" throws the "Server threw an
exception" error
Err.Code 80010105
:|
I can't figure out why its working on my machine and none of the other
machine ...or the cause of the error.
Any suggestions on what the problem might be?
(I've tried Microsoft PIA for Office XP too)