When you install Office 2003 Critical Update KB828041 on a computer with Microsoft Visual Studio Tools for the Microsoft Office System and then create a new Visual Studio Tools for Office project, it fails to add a reference to the Office primary interop assembly, office.dll. The fix for this appears to be either a) doing a “repair” of Office or b) re-registering office.dll, usually by issuing the following command:
%systemroot%\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe %systemroot%\assembly\GAC\Office\11.0.0.0__71e9bce111e9429c\Office.dll
Thanks to Siew-Moi Khor and Peter Torr for details around this issue.
-- Paul Cornell
-----
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.