V
VIJAY KUMAR
Hi,
I am working on the Word automation and every time i am opening and
closing word document. if there is any Corrupted document its opening a
dialog box saying that this document is corrupt anad want to repiar?
is there any way to force dont show the dialog box and just repair the
document with out promting the dilaog box. I already the OpenandRepair
paramete as True but still it poping the dialogbox
this is how i am passing parameters
objDoc = wordApp.Documents.Open(ref Source, ref missing, ref missing, ref
falseObject, ref missing,
ref missing, ref trueObject, ref missing, ref
missing, ref missing, ref missing,
ref falseObject, ref trueObject, ref missing, ref
missing, ref missing);
Any help would be appriciated.
Thanks
Vijay
I am working on the Word automation and every time i am opening and
closing word document. if there is any Corrupted document its opening a
dialog box saying that this document is corrupt anad want to repiar?
is there any way to force dont show the dialog box and just repair the
document with out promting the dilaog box. I already the OpenandRepair
paramete as True but still it poping the dialogbox
this is how i am passing parameters
objDoc = wordApp.Documents.Open(ref Source, ref missing, ref missing, ref
falseObject, ref missing,
ref missing, ref trueObject, ref missing, ref
missing, ref missing, ref missing,
ref falseObject, ref trueObject, ref missing, ref
missing, ref missing);
Any help would be appriciated.
Thanks
Vijay