PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins (Noob) VB6 COM Addin Question

Reply

(Noob) VB6 COM Addin Question

 
Thread Tools Rate Thread
Old 15-03-2006, 04:05 PM   #1
Mike K
Guest
 
Posts: n/a
Default (Noob) VB6 COM Addin Question


I am using the Outlook COM Addin Template at
http://www.microeye.com/resources/O...COM%20Addin.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


  Reply With Quote
Old 15-03-2006, 04:22 PM   #2
Rog
Guest
 
Posts: n/a
Default Re: (Noob) VB6 COM Addin Question

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

Mike K wrote:
> I am using the Outlook COM Addin Template at
> http://www.microeye.com/resources/O...COM%20Addin.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
>
>

  Reply With Quote
Old 15-03-2006, 04:33 PM   #3
Mike K
Guest
 
Posts: n/a
Default Re: (Noob) VB6 COM Addin Question

Hi Rog
That seems to do it...

Thanks
"Rog" <rog_21@yahoo.com> wrote in message news:exwpfyESGHA.1844@TK2MSFTNGP12.phx.gbl...
> 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
>
> Mike K wrote:
>> I am using the Outlook COM Addin Template at
>> http://www.microeye.com/resources/O...COM%20Addin.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



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off