Problem detecting Application_Quit event

G

Guest

hi - newbie question

I'm opening an Outlook Calendar Explorer from my VB form, and need to detect when the user closes the Calendar Explorer so that I can return control to the VB form. The Application object has a Quit event - but this doesn't seem to fire - maybe because the application Object as created in the VB app still exists?

Anyway - thanks for any help!
 
K

Ken Slovak - [MVP - Outlook]

When Quit fires all Outlook objects are out of scope anyway. Use a
trap on the Explorer and Inspector Close events. When there are no
more Inspectors or Explorers then Outlook is closing.




AndyK said:
hi - newbie question

I'm opening an Outlook Calendar Explorer from my VB form, and need
to detect when the user closes the Calendar Explorer so that I can
return control to the VB form. The Application object has a Quit
event - but this doesn't seem to fire - maybe because the application
Object as created in the VB app still exists?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top