AnsweredAssumed Answered

Not working late binding

Question asked by Oleg Bezyaev on Mar 16, 2013
Latest reply on Mar 16, 2013 by Artem Taturevych

Type progType = Type.GetTypeFromProgID("SldWorks.Application");

var myActiveDoc = progType.InvokeMember("IActiveDoc2", BindingFlags.GetProperty, null, progType, new object[0]);

MissingMethodException, method not found "System.__ComObject.IActiveDoc2".

 

Can anyone help me?

Outcomes