Outlook locks up during a send receive with forms open

  • Thread starter Thread starter Daniel Gard
  • Start date Start date
D

Daniel Gard

I am working on an Outlook Addin with VB6 and I found a problem
during testing.

There is one area where the user will open a VB form to add, remove and
update information in a public exchange contact folder.
This form has buttons that allow the user to open other forms. Because the
forms were sometimes ending up behind Outlook I made Outlook the
parent using an API call then set the form to vbModal so they can't do other
things.

When all this was open Outlook did a send / receive and Outlook locked which
of couse locked up the addin application.

Is it possible to stop Outlook from doiing any send / receive tasks while
the forms are open? I need some sort of on/off switch. Any ideas? Or do I
just turn off vbModal?

Thank You

Dan Gard
 
Back
Top