Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / May 2004

Tip: Looking for answers? Try searching our database.

how can I check if outlook is already open and running in VB6?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 14 May 2004 07:24 GMT
Hello.  Using VB6, how can I check to see if a user has Outlook
currently open and running on their machine?

Thank you!
Sincerely,
Mark
Ken Slovak - [MVP - Outlook] - 14 May 2004 14:54 GMT
Dim oOL As Outlook.Application
On Error Resume Next
Set oOL = GetObject(, "Outlook.Application")
If oOL Is Nothing Then 'Outlook not running yet
   Err.Clear
   Set oOL = CreateObject("Outlook.Application") 'start Outlook
End If

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hello.  Using VB6, how can I check to see if a user has Outlook
> currently open and running on their machine?
>
> Thank you!
> Sincerely,
> Mark
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.