okay....nevermind...duh. I just used the ToolbarButton_Click event to show a
new instance of the form.
Here's a follow-on though. Is there a way to address the button I have on
the toolbar from within the form's code?
Thanks
"Dewey" wrote:
Hi.
I've created an add-in using the exact steps shown here using VB.net in
Visual Studio 2005:
http://support.microsoft.com/?kbid=302896
I've added a generic form in this project too. When I first run Outlook
and click on the toolbar button it inserted, it somehow knows to show the
form! (I never call .Show( ) for the form anywhere).
This is actually what I want, but it will only show once. Can someone
explain why the form is shown in the first place? Does VS just know to make
the first form the startup object for a COM add-in? Anyone know why it will
only work once?
Thanks for the help
-Josh