hello again,
as hotfix please use:
using Vbe = Microsoft.Vbe.Interop.Forms;
Vbe.ComboBox comboBox = Invoker.PropertyGet(oleObject, "Object") as Vbe.ComboBox;
// stuff
Marshal.ReleaseComObject(comboBox);
please keep in your mind. Microsoft.Vbe.Interop.Forms is not NetOffice,
what i have to do is mark the Object property as non-analyzing property or much better, spend a NetOffice wrapper assembly for Microsoft.Vbe.Interop.Forms. added to todo-list for NO 1.6.1
thanks man for pointing this out!
*Sebastian
as hotfix please use:
using Vbe = Microsoft.Vbe.Interop.Forms;
Vbe.ComboBox comboBox = Invoker.PropertyGet(oleObject, "Object") as Vbe.ComboBox;
// stuff
Marshal.ReleaseComObject(comboBox);
please keep in your mind. Microsoft.Vbe.Interop.Forms is not NetOffice,
what i have to do is mark the Object property as non-analyzing property or much better, spend a NetOffice wrapper assembly for Microsoft.Vbe.Interop.Forms. added to todo-list for NO 1.6.1
thanks man for pointing this out!
*Sebastian