Controls on Advanced Bar

Add-in Express™ Support Service
That's what is more important than anything else

Controls on Advanced Bar
 
John Testa




Posts: 4
Joined: 2014-09-12
How can I access the controls on a advanced bar from the IEModule? I tried the example in the manual but get an error as there is no type abar in the line:
Dim myBar As MyIEAddon1.MyIEBar1 = CType(aBar, MyIEAddon1.MyIEBar1)

I also tried using barobj instead of abar and that didn't work either. Would this code need to be changed to access an advanced bar instead of regular bar?

Also, is it possible to call senddatatobroker from within the advanced bar or can it only be called from within the iemodule?
Posted 29 Sep, 2014 19:07:46 Top
Andrei Smolin


Add-in Express team


Posts: 18791
Joined: 2006-05-11
Hello John,

You need to get ADXIEAdvancedBarItem.BarObj and cast it to the type of your bar.


Andrei Smolin
Add-in Express Team Leader
Posted 30 Sep, 2014 05:57:33 Top