Thanks ken.
Here is what I am doing:
When a new message arrived to the inbox ,I am moving it to a different
folder,than I display
a VB modeless form, from my add in ,without setting it's
'OwnerForm'(myForm.Show) ,waiting for user input.
it works fine until the VB Form was displayed while I was changing account
properties
(tool->accounts->properties)
I don't need to display Inspector modally.
as a matter of fact I prefer using Modal forms so i can wait for user input
before farther processing,but as I explained, I thought it make problems.
thanks in advance
"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> There are problems when displaying an Inspector modally, I use modal
> VB forms in my addins and also from Outlook property pages. It depends
> on whether I want the form code to run before any other code that
> follows the call to the form. You will have to provide more
> information about what you are doing and how.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "tomer" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > Hi,
> >
> > As i understood there is some problems displaying modal dialogs from
> > outlook,
> > So my add in uses modeless dialog
> >
> > while outlook propeties dialog was opened,my add in tried to display
> a
> > modeless dialog
> > and i get the following error:
> >
> > "can't show a non modal form when modal form is displayed"
> >
> > What can i do inorder to solve the problem? can i detect whenever a
> modal
> > form is opened?
> >
> >
> > Thanks in advance
> >
> >
>
>