Part of my emailing program has the lines
If the user has a dialog box open when the 2nd line tries to execute I get an error:
I couldn't find in the object model how to detect for an open dialog. Any ideas anyone?
Thanks,
Stewart
Code:
oInspector = oMailItem.GetInspector()
oInspector.Activate()
If the user has a dialog box open when the 2nd line tries to execute I get an error:
A dialog box is open. Close it and try again...
I couldn't find in the object model how to detect for an open dialog. Any ideas anyone?
Thanks,
Stewart