![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I am developing some code for outlook right now and the way I am detecting the application running is by doing: Marshal.GetActiveObject("Outlook.Application"); If I get a comexception then outlook is not running. The problem is that sometimes this catches a dying outlook instance and the rest of my code tries to execute against this non existent instance with all kind of errors. Is there any way to get the current instance and ensure that it was not in the middle of a closing process? Thanks, Federico |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Detect outlook is running (and not shutting down) | Federico Delgado | Outlook - Using Forms | 0 | June 9th 08 07:40 PM |
All .pst files lost after running detect and repair ( 2003 with vi | hikk | Outlook - Calandaring | 1 | March 16th 08 02:35 AM |
Detect if outlook is running with RPC-Http | Yahya | Outlook and VBA | 0 | August 5th 06 09:18 AM |
Detect if outlook is running with RPC-Http | Yahya | Add-ins for Outlook | 0 | August 5th 06 09:18 AM |
Outlook shutting down. | rdison | Outlook - Using Contacts | 1 | February 14th 06 04:56 PM |