Does C# .NET support IDispatch late binding?

You can, relativly, use late-binding IDispatch binding in C#. http://support.microsoft.com/kb/302902 Here’s some sample for using Excel. This way you don’t need to add a needless dependancy on Microsoft’s bloaty PIA: //Create XL Object xl = Activator.CreateInstance(Type.GetTypeFromProgID(“Excel.Application”)); //Get the workbooks collection. // books = xl.Workbooks; Object books = xl.GetType().InvokeMember( “Workbooks”, BindingFlags.GetProperty, null, xl, null); //Add a … Read more