Access Denied – Checking Registry and File Access permissions

Permission issues related to accessing files, folders and the registry can cause applications to crash, hang or work incorrectly.  There are several tools which are helpful for diagnosing these issues.   Process Monitor: Process Monitor (procmon) can be used to log access to files, folders, registry and network.  Each log entry shows the access…

0

About: VSTO for Outlook

API Type:  UI Customization API Interface: .NET Business Logic: Adds features to the Outlook UI and to Outlook processing. Development Languages: .NET, OOM. Property Access: Yes Product Versions: Visual Studio 2005 and later, Office 2003 and later. Summary: Outlook VSTO add-in development allows you to write add-inapplications which will run in Outlook from Office. Points…

0

OOM.NET – The problem with modifying the iterating object in a “foreach”

Ahhh “foreach”. Usage of foreach can be either a blessing or a curse. Unfortunately, a lot of developers don’t understand that it can cause issues. The need to avoid it when code in a foreach will do an operation (move, delete, etc.) is something which blows the minds of even seasoned developers. What you will…

0

Building messaging applications with “Any CPU”

  When building pure .NET applications doing builds using Any CPU usually go pretty smoothly. Even when mixing in some COM objects things usually go well. However, developers often run into issues with .NET code using COM objects then deploying their applications to other computers where the bitness of their development box OS does not…

0

Sample – Detecting installed Outlook and its bitness

Here is a sample which detects the installed Outlook versions and their bitness.   using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Runtime.InteropServices; using Microsoft.Win32;   namespace DetectOutlook { class Program { public enum BinaryType : uint { SCS_32BIT_BINARY = 0, // A 32-bit Windows-based application SCS_64BIT_BINARY = 6, //…

0

EWSEditor 1.16 Released

I’ve done a lot of clean-up in EWSEditor and added a few needed features for this release. I would like to highlight one major change with EWSEditor in this release: Prior all versions of EWSEditor did not use COM objects. This version uses CDOSYS in order to provide a new feature – the ability to…

0

HowTo: Set a reference to CDOSYS

You could set a reference directly to the CDOSYS file. However, there this is a more elegant way overall and that is to do it in Visual Studio: Click on Solution Explorer. Right click the “References” node in the tree and select “Add Reference…”. Click on the COM tab. Navigate to the “Microsoft CDO for…

0

EWS and Inline Attachments

I keep seeing a lot of questions on inline attachments being accessed by EWS being asked on our cases and on the internet. So, I would like to try to clarify how inline attachments work with different message bodies. There are really two types of inline attachments… at least it’s best to think of them…

0

EASTester 1.10 Release

This release has some new features and several important fixes. The goals of this release were to fix existing bugs and to add some features to make its usage easier. Now there is some basic help available for working with EAS. The help provides information on EASTester, EAS response codes, IIS response codes and a…

0