Microsoft.Office.Interop.Word.ApplicationClass' has no constructors defined RRS feed

  • Question

  • I wrote this line in my program:

      Microsoft.Office.Interop.Word.Application app = new Microsoft.Office.Interop.Word.Application();

    and i got this error: Microsoft.Office.Interop.Word.ApplicationClass' has no constructors defined, after i add a DLL. why????

    Tuesday, January 11, 2011 10:30 AM


  • What do you mean by "after i add a DLL"?

    Which version of Word are we discussing?

    Note that I'm going to move this question to the Word Developer forum as it's not VSTO-related. VSTO solutions always run in process with the host Office application. You never need to instantiate an application object (use new Word.Application).

    Cindy Meister, VSTO/Word MVP
    • Marked as answer by Bessie Zhao Tuesday, January 18, 2011 2:46 AM
    Tuesday, January 11, 2011 4:32 PM