msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to close outlook application when running

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook
Author Message
Phefos



Joined: 14 Feb 2008
Posts: 1

PostPosted: Thu Feb 14, 2008 11:58 am    Post subject: How to close outlook application when running Reply with quote

Hi

Can somebody please help with the VB6 code to check if outlook is running
and if it is close it

Thank you in advance

Archived from group: microsoft>public>office>developer>outlook>vba
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Thu Feb 14, 2008 3:30 pm    Post subject: Re: How to close outlook application when running Reply with quote

Look up the help for GetObject and how to use it to get an instance of a
running application. If it is running call the Outlook.Application.Quit
method.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Phefos" wrote in message @microsoft.com...
>
> Hi
>
> Can somebody please help with the VB6 code to check if outlook is running
> and if it is close it
>
> Thank you in advance

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
How to quit running outlook application from service without Hi, we need to close any running outlook applications from a windows service in order to do backups of pst files. We used to do this using Automation from a normal app but now we need to do it from a windows service. I've learned from

How to determine if an application is running - Need Help! I'm working on an email automation project. When an email is selected in Outlook I have a button that when pressed parses data out of the subject and body of the email to determine if it is an email related to a customer, dealer or vendor. Depending on th

Outlook.exe can't close it Hello, I'm using OL2003, AC97, WinXP I can't close Outllok.exe. To make a copy of the Outlook.pst I'm using this code. But after this code outlook.exe is still running. How can I close it?

Running a macro from within Application_ItemSend I have created a macro that marks email in specific folder from a specific sender as "Read" When I run the macro from the macro works perfectly fine. I want to automate the macro to run everytime items are sent. Using postings fou

How to check for new mail from another vba application Newbie here...I'm sure this is totally easy...but not for me. We have an automated test tool which will trigger events that fire off emails to certain users. We need to access those emails and parse out a link, then click on it. We can do that so far, bu
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group