Getting handler of current running Outllook application.
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have to open the outlook application. olApp = new Outlook.ApplicationClass(); But if the outlook is already running, what should I do? I have the following code to find out if the outlook applicatin is already running. Once I got the processes of current Outlook, how should I assign to olApp?? bool found=false; Process [] processes = Process.GetProcessesByName("OUTLOOK"); if (processes.Length >= 1) { found=true; } Thanks.