Accessing Subs from one adxtaskpane from another adxtaskpane

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

Accessing Subs from one adxtaskpane from another adxtaskpane
How to run a public shared sub 
Jose Castellanos




Posts: 30
Joined: 2015-08-25
Is there anyway to run a public shared sub that is in one class and specific instance of that class, from another class/taskpane?

I want to change visibility of an item from a specific object that is in an already existing instance of a taskpane.

Thanks in advance!
Jose Castellanos
Posted 22 Apr, 2019 23:31:52 Top
Andrei Smolin


Add-in Express team


Posts: 16731
Joined: 2006-05-11
Hello Jose,

Get that instance and run the sub; check section Accessing a Form Instance at https://www.add-in-express.com/docs/net-outlook-regions-panes-ui.php#form-instances-programmatically.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Apr, 2019 03:07:51 Top
Jose Castellanos




Posts: 30
Joined: 2015-08-25
Thank you so much! Will try that :)
Jose Castellanos
Posted 29 Apr, 2019 13:56:00 Top