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? |
|
Andrei Smolin
Add-in Express team
Posts: 19108
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 |
|