Problem detecting Application_Quit event

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
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?
 
Back
Top