Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Class not exists: NetOffice.OfficeApi.ComboBox

$
0
0
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

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>