Linking Forms across seperate addins

B

Blue Aardvark

Hello,
I have a number of addins that do particular tasks and a 'parent' addin that
controls the flow through the individual parts (the 'parent' has a reference
to all the other addins). Each addin has its own specific settings and I
would a central form with a tab page for each addin where these settings can
be adjusted. Is there a sensible way of creating one form for all the addins,
but to keep the actual appearance/code for the options located within the
appropriate addin in question?
Thanks.
 
J

Jim Rech

I would explore having the control add-in write the settings it gathers from
the user to the registry and then call a routine in a specific add-in that
would read the current settings from the registry to reconfigure itself.

--
Jim
| Hello,
| I have a number of addins that do particular tasks and a 'parent' addin
that
| controls the flow through the individual parts (the 'parent' has a
reference
| to all the other addins). Each addin has its own specific settings and I
| would a central form with a tab page for each addin where these settings
can
| be adjusted. Is there a sensible way of creating one form for all the
addins,
| but to keep the actual appearance/code for the options located within the
| appropriate addin in question?
| Thanks.
 
B

Blue Aardvark

The addins are already writing their settings to the registry. What I would
like is that each addin remains in charge of the appearance and code for
making these settings, but having just one central location where all of
these adjustments can be made. I don't want to have to create a seperate menu
in the Excel toolbar with links to each of the addins "option" dialog boxes.
Therefore I was hoping there was a way of connecting forms together in some
way, so that multiple forms from multiple addins could somehow be brought
together. Perhaps I am hoping for too much?
 
J

Jim Rech

Assuming all the add-ins are open, why can't the master call a routine in a
sub add-in that displays its options dialog? You said you've set references
right?

--
Jim
| The addins are already writing their settings to the registry. What I
would
| like is that each addin remains in charge of the appearance and code for
| making these settings, but having just one central location where all of
| these adjustments can be made. I don't want to have to create a seperate
menu
| in the Excel toolbar with links to each of the addins "option" dialog
boxes.
| Therefore I was hoping there was a way of connecting forms together in
some
| way, so that multiple forms from multiple addins could somehow be brought
| together. Perhaps I am hoping for too much?
 
B

Blue Aardvark

Hi Jim,
I guess I could make one master dialog that brings up the addin dialog boxes
when you hit the appropriate button. I just thought there may be a neater
option. One that could display the objects of one form inside the other form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top