Globals namespace RRS feed

  • Question

  • Hi,

    To get object of Microsoft.Office.Tools.Word.Document class we need to use Globals.Factory.GetVstoObject(word). I am using visual studio 2012 with .net frame work 4.5.  I am able to locate help of this Globals name space.

    Can somebody please help me locate this Global namespace.

    Thanks !

    Thursday, September 3, 2015 2:33 PM


  • Hi alphaRoamer

    The Globals namespace is internal to the Tools - it's not something you can use outside of the context of the methods it provides. So the only Help you're going to find is for GetVstoObject

    Please note that you cannot use the Tools in any project that does not run in-process with an Office application (Word or Excel).

    Cindy Meister, VSTO/Word MVP, my blog

    Thursday, September 3, 2015 4:53 PM