Problem with Outlook Add-in in wordmail editor

  • Thread starter Thread starter JugHeaD JoNEs
  • Start date Start date
J

JugHeaD JoNEs

Hi,

I'm using outlook 2003 and word 2003. I have developed this add-in in
VB6.0 that adds a combobox, which is used for retrieving contact
information from the SQL server that I am running.

Ok my problem is, if I use Wordmail as the editor, and if i open 2 new
instances of newmail, the add-in appears in the first instance of
newmail. and in the second instance it gets added, but it does not
show up. i have to go to view --> toolbars and select the add-in
manually for it to show up.

is there anyway i can set it to appear as default in all the instances
of newmail.

Thanks,
 
You would need to use something like an Inspector wrapper (similar to the
one shown at http://www.slovaktech.com/code_samples.htm#InspectorWrapper)
and instantiate your toolbar in each new item as it was opened. Of course
you'd have to check for which editor was being used and adjust your code
accordingly depending on whether it was the Outlook or Word editor. Then
when the toolbar is added set it to enabled and visible.

If the user has enabled prompting on changes to Normal.dot they will get
this prompt when closing Word even if you have deleted your toolbar by then
and declared it as Temporary when you create it. You would have to save the
template in your code to avoid that prompt.
 
Back
Top