Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Open Outlook COM via windows service

Reply
 
Old 2 Weeks Ago   #1 (permalink)
JJ


 
 

Open Outlook COM via windows service

Hello NG

I want to create a windows service using C#.
In that service i want to open access to Outlook COM object but nothing
happens.

I've sat a reference to the Microsoft Outlook component verison 12 and using
the following:

Microsoft.Office.Interop.Outlook.Application objOL = New
Microsoft.Office.Interop.Outlook.Application();

And the servcice don't get any further. It don't creates any errors or
messages but i can't se that i continue to next line of code?

Is it not possible to open Outlook COM object from a windows service?



Kind regards

Johnny E. Jensen



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Windows was unable to open service WdiServiceHost for writing on local computer Vista performance & maintenance
unable to open windows outlook 2007 Vista security
Can I open outlook mails in windows mail? Vista mail
backing up outlook pst files with outlook open (Windows Vista) Vista General
Open Outlook messages under Windows Vista/Mail Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46