1) WordAddIn.ThisAddIn addin = new WordAddIn.ThisAddIn(null, null);
2) Using Reflection Assembly newAssembly = Assembly.LoadFile("C:...bin\\Debug\\WordAddin.dll"); Type[] types = newAssembly.GetExportedTypes(); Type entryType = newAssembly.GetType("ThisAddin"); object o = Activator.CreateInstance(types[0], true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)