There was an exception in the form's constructor that being thrown but not caught by Outlook, so the code hung. I've corrected the code and the form works as expected.
Incidentally, is there a type of exception that I can be caught by Outlook? Probably a COM-type exception, I'll wager.
Thanks for your time, Ken.
"Ken Slovak - [MVP - Outlook]" wrote:
[Quoted Text] > What exactly is happening? Is the form being started at all, does its > constructor get called? Is it a matter of the form not being on top or in > the front of the z-order? If it's a z-order issue have you tried setting the > form's .TopMost, TopLevel properties and/or the BringToFront() method? > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com> Author: Professional Programming Outlook 2007. > Reminder Manager, Extended Reminders, Attachment Options. > http://www.slovaktech.com/products.htm> > > "Craig Buchanan" <someone[ at ]microsoft.com> wrote in message > news:%23v9IsPlMJHA.6044[ at ]TK2MSFTNGP02.phx.gbl... > > I've created an Add-In for Outlook (2003) using VB.Net (VS 2005). I'm > > having difficulty w/ getting either of the forms that I created to be > > visible. > > > > I've defined the forms as class-level variable in the Connect class. This > > is the code that is executed in the method that handles the button.click > > (button is a CommandButtonBar) event: > > > > form_Export = New Form_Export > > form_Export.Show() > > > > What am I missing? > > > > Thanks, > > > > Craig Buchanan > > > >
|