Partilhar via


Compatibility problem between VS 2008 and Office 2000 and how to fix it

A few users discovered that design view in VS 2008 and Visual Web Developer Express 2008 may get broken when Office 2000 is installed. See, for example, https://forums.asp.net/p/1194475/2061103.aspx#2061103 and https://forums.asp.net/t/1191630.aspx. Actually, the issue is wider and may affect Office 2003 installation as well. The problem manifests itself when machine has path to the Office folder with older version of fpcutl.dll specified in the system path. User might do this so they could run Office from the command line. However, adding Office path to the system path causes OS to pick the older dll when VS 2008 designer tries to loads its components. You can learn more about how OS loads dlls in the LoadLibrary API documentation.

As a workaround, try setting path to the VS 2008 designer (typically Program Files\Microsoft Web Designer Tools\VWD) before path to the Office folder or remove path to the Office folder completely from the system path. For Office 2000 this is normally Program Files\Microsoft Office\Office. Adding VWD path before Office should not affect Office applications or FrontPage 2000 since they use custom dll discovery mechanism.

Comments

  • Anonymous
    December 14, 2007
    PingBack from http://msdnrss.thecoderblogs.com/2007/12/14/compatibility-problem-between-vs-2008-and-office-2000-and-how-to-fix-it/

  • Anonymous
    December 17, 2007
    So you successfully installed Visual Studio 2008 and now you may have a few issues with the new editor

  • Anonymous
    December 26, 2007
    Are you talking about setting the path under the environment variables, somewhere in VWD, or somewhere else? Thanks.

  • Anonymous
    December 26, 2007
    Path variables are set in Control Panel | System (click Change Settings in Vista) | Advanced | Environment Variables or right-click My Computer | Properties

  • Anonymous
    March 13, 2008
    The comment has been removed

  • Anonymous
    March 27, 2008
    VS 2008 and .NET 3.5 Web Designer Error

  • Anonymous
    March 28, 2008
    VS 2008 and .NET 3.5 Web Designer Error

  • Anonymous
    April 01, 2008
    Visual Web Developer Express 2008 Split View Problem

  • Anonymous
    July 15, 2008
    Problem Description ================== Whenever we click on Design View in Visual Studio 2008 it has

  • Anonymous
    October 03, 2008
    Over the last few months we've collected information on various issues related to design view not working

  • Anonymous
    April 07, 2009
    Visual Web Developer Express 2008 Split View Problem