H
Heide
Here's the code.
objword.Documents(strActivateName).SaveAs FileName:=strFullFileName,
FileFormat:=mgwdFormatXML
objword.Documents(strActivateName).Activate
When I deploy this early bound all is right with the world. The
application test out successfully.
For corporate purposes, we deploy late bound. When I compile and test
late bound the first line executes correctly, err.number is 0,
err.description is blank and the file in the file system looks
perfect.
However, executing *any* automation command after this results in the
following error. (it's not just the .activate)
?err.Number
-2147417851
?err.Description
Automation error
The server threw an exception.
I am using:
Visual Basic 6.3
Windows XP Professional version 2002 Service Pack 1
Microsoft Office Word 2003 (11.6359.6360) Service Pack 1
Any insight is appreciated.
Thank you,
Heide
objword.Documents(strActivateName).SaveAs FileName:=strFullFileName,
FileFormat:=mgwdFormatXML
objword.Documents(strActivateName).Activate
When I deploy this early bound all is right with the world. The
application test out successfully.
For corporate purposes, we deploy late bound. When I compile and test
late bound the first line executes correctly, err.number is 0,
err.description is blank and the file in the file system looks
perfect.
However, executing *any* automation command after this results in the
following error. (it's not just the .activate)
?err.Number
-2147417851
?err.Description
Automation error
The server threw an exception.
I am using:
Visual Basic 6.3
Windows XP Professional version 2002 Service Pack 1
Microsoft Office Word 2003 (11.6359.6360) Service Pack 1
Any insight is appreciated.
Thank you,
Heide