On opening PropertyPage, unloading adding

D

Diego_Atos

I've a problem with my outlook plugin.

Whene I only load outlook, it works fine. However if I open the
propertypage to change my addin settings, it seems to unload addin. If
I close Outlook and I reopen it, the addin runs with new settings.

I hope I should reload addin on propertypage closing event or
something similar. Is it true or whatelse i should do to reload my
addin without closing and opening outlook?


Excuse my "wonderful" english


thanks
 
K

Ken Slovak - [MVP - Outlook]

You shouldn't have to re-add or re-instantiate your addin at all after the
property page closes.

Show some of the code you're using to do whatever you're doing.

When I handle the Application_OptionsPagesAdd event to instantiate my
property page OCX I usually have a public method in the addin that can be
called from the property page to let the addin know that settings have
changed. I usually write the settings to either the registry or an INI file,
then when the method is called in the addin I read the settings to see what
changes to make. There's a KB article on how to do that.

Other than that when the property page is closed the addin just runs as
usual.
 

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