Hi All,
During an attempt to use the automation object (DTE) property ActiveDocument an AccessViolation exception is being thrown.
Usage :
var dte = (DTE)iBProjectPackage.GetGlobalService(typeof(DTE));var doc = dte.ActiveDocument;
How can i trace the source of the problem ? What can cause this ?
Any help will be appreciated :)
Thanks