Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Outlook   (RSS)

Why is OOM code leaking items????

When you use OOM under .NET, your using managed code around COM objects via the Outlook Primary Interop Assembly (PIA). When you have managed code working with COM in this way, you have to be very careful to clean-up your references. .NET will hold onto

CDOSYS breaks after removing Outlook Express.

Yep, that will do it. There is a relationship between CDOSYS and Outlook Express. So, you should not remove Outlook Express if you ever expect to use CDOSYS or have anything which uses CDOSYS work properly. Some people get very ambitious about security

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft's Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol

Drag and Drop with Outlook

Drag and Drop with Outlook is not supported by code. However there are some techniques which can provide an item drag/drop effect. The idea is to write the item to a temporary .msg file and then use OLE CF_HDROP for the drop. Before we begin let me make

Setting MeetingStatus to CdoNonMeeting using CDO will cause the AllDay flag to not be set on an occurance in Outlook.

If you use CDO 1.21 to set the MeetingStatus to CdoNonMeeting for a single occurance of an all day recurring appointment, you will find that the AllDay flag is not set when the appointment is converted to a meeting and accepted by the attendee. Private

Is it possible to verify the password or decrypt of a the password of a PST file?

There is no API which allows the specification of a PST password for verification or logging-in. The password in the MapiLogonEx function exists for back-wards compatibility in with existing mapi code. The password was used when accessing older email

Looking for a way to save a .msg file or load a .msg file?

Outlook Object Model (OOM) can do this easily. Below is a sample: howto - save and load a message to a folder. Sub SaveAndLoadMsgFile() Dim ol As Outlook.Application Dim olns As Outlook.NameSpace Dim oOrigItem As Outlook.MailItem Dim oNewItem As Outlook.MailItem

How to add a holiday to a calendar using VB and CDO 1.21.

' How to add a holiday to a calendar using VB and CDO 1.21. ' ' This example code shows how to add a holiday to a calendar using VB and CDO 1.21. ' Set a reference to CDO 1.21 and do the TODO sections in the code. ' Holidays are All Day Appointments with
 
Page view tracker