Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: (Noob) VB6 COM Addin Question

Geek News

(Noob) VB6 COM Addin Question
"Mike K" <aValid[ at ]EmailAddress.Com> 3/15/2006 4:05:44 PM
I am using the Outlook COM Addin Template at
http://www.microeye.com/resources/Outlook%20COM%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


Re: (Noob) VB6 COM Addin Question
Rog <rog_21[ at ]yahoo.com> 3/15/2006 4:22:13 PM
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:
[Quoted Text]
> I am using the Outlook COM Addin Template at
> http://www.microeye.com/resources/Outlook%20COM%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
>
>
Re: (Noob) VB6 COM Addin Question
"Mike K" <aValid[ at ]EmailAddress.Com> 3/15/2006 4:33:02 PM
Hi Rog
That seems to do it...

Thanks
"Rog" <rog_21[ at ]yahoo.com> wrote in message news:exwpfyESGHA.1844[ at ]TK2MSFTNGP12.phx.gbl...
[Quoted Text]
> 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/Outlook%20COM%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


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net