(Noob) VB6 COM Addin Question

  • Thread starter Thread starter Mike K
  • Start date Start date
M

Mike K

I am using the Outlook COM Addin Template at
http://www.microeye.com/resources/Outlook COM Addin.zip
I should also say that I'm an absolute beginner with VB6.

I add a dialog form to this project with OK and Cancel button. I would like Outlook to
Quit when I click the Cancel button. How can I do this? Some example code would be
appricated.

Thanks in Advance
Mike K
 
Hi Mike, if you have a reference to the applicationObject
(Outlook.Application) have you tried using the .Quit() method. I have
never tried using it myself.
Rog
 
Hi Rog
That seems to do it...

Thanks
Rog said:
Hi Mike, if you have a reference to the applicationObject (Outlook.Application) have you
tried using the .Quit() method. I have never tried using it myself.
Rog
 
Back
Top