Archive for the ‘HowTo samples’ Category
March 2nd, 2010
Many of you are likely to have encountered the phrase DLL Hell in the glory days of the COM technology. Of course, with the arrival of the .NET era, developers got rid of this headache. But even these days COM is actively used in many applications. Our Outlook Security Manager is a vivid example of the COM technology usage in respect to applications, or add-ins;...
Read the rest of this entry
Tags: .NET, C#, COM add-ins, Deployment, Outlook, Outlook security, VB.NET, Visual Studio
Posted in HowTo samples | 6 Comments »
November 6th, 2009
In the previous sample, I showed how to get the PR_ATTACH_SIZE Extended MAPI property that returns the size of an Attachment object. To be more precise, it returns the size of the attached file and the size of some internal info. In most cases that makeweight does not matter at all...
Read the rest of this entry
Tags: .NET, C#, COM add-ins, MAPI, Outlook, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »
June 26th, 2009
In general, you can have IE add-ons interact with standalone applications by using Windows messages and the Shared (static in C#) GetModulesByTypeName method of the AddinExpress.IE.ADXIEModule class. There is just one limitation: both processes (IE with your add-on and standalone application) must be running in the same Integrity Level....
Read the rest of this entry
Tags: .NET, C#, IE add-ons, VB.NET, Visual Studio
Posted in Add-in Express for Internet Explorer, HowTo samples | No Comments »
June 19th, 2009
Nearly every software has some settings. An Internet Explorer plug-in is not an exception. The IE plug-in settings can be stored either in a file or in a registry branch, all is simple and transparent about this. But how to ensure the settings synchronization for all active instances of the IE plug-in in all running Internet Explorer processes?...
Read the rest of this entry
Tags: .NET, C#, IE add-ons, VB.NET, Visual Studio
Posted in Add-in Express for Internet Explorer, HowTo samples | 2 Comments »
June 12th, 2009
The Protected Mode feature was introduced in Internet Explorer 7 and continues to exist in Internet Explorer 8. Nearly at the same time when the Protected Mode feature appeared Microsoft introduced Protected Mode API for developers to use this feature. All API functions are implemented in the Add-in Express for Internet Explorer and .net product and today we are going to look into their capabilities......
Read the rest of this entry
Tags: .NET, C#, IE add-ons, VB.NET, Visual Studio
Posted in Add-in Express for Internet Explorer, HowTo samples | No Comments »
May 23rd, 2009
In one of my previous HowTo samples I showed you how to use the Microsoft Word Object Model capabilities for spell checking. Today we will look at one more ability of Microsoft Word, namely the capabilities of its dictionary, more specifically synonyms and antonyms. We will need the SynonymInfo object and SynonymList and AntonymList properties......
Read the rest of this entry
Tags: .NET, C#, VB.NET, Visual Studio, Word
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »
May 8th, 2009
It would be true to say "get" rather than "convert". There could be only one right way – to use Extended MAPI. Another method is described in the MSDN article: How to retrieve alternate e-mail addresses by using CDO, but we will not see into this approach, because CDO is optional in Outlook 2003 and is absent completely in Outlook 2007....
Read the rest of this entry
Tags: .NET, C#, COM add-ins, MAPI, Outlook, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | 4 Comments »
May 1st, 2009
In Office 2007 there are 3 available color schemes – Black, Blue and Silver. The background of controls in command bars and ribbon tabs is changed by Office automatically. Do you want to try changing the background of your Outlook forms and Excel task panes when the MS Office color scheme is changed?...
Read the rest of this entry
Tags: .NET, C#, COM add-ins, Excel, Outlook, Outlook regions, task panes, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »
April 24th, 2009
Add-in Express 2008 allows placing several forms into one Outlook region or task pane. In addition, Add-in Express 2009 enables the end-user to drag and drop custom forms to wherever they want to (naturally, with the developer's permission). Do you need to know where your form is now and in what state? Of course, you do…...
Read the rest of this entry
Tags: .NET, C#, COM add-ins, Outlook, Outlook regions, task panes, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »
April 17th, 2009
It is generally known that the Microsoft Office Object Model is not thread safe and accessing some object, property or method not from the main thread may sometimes result in a host application crash. Of course, nothing prevents you from using threads inside the add-in itself, threads that don't need the Office Object Model......
Read the rest of this entry
Tags: .NET, C#, COM add-ins, Office, Outlook, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | 4 Comments »
April 10th, 2009
What is the Outlook Navigation pane? According to Microsoft, it is the column on the left side of the Outlook window that includes panes such as Shortcuts or Mail and the shortcuts or folders within each pane. The Navigation Pane was introduced in Outlook 2003 and enhanced in Outlook 2007. Let's see what a developer can do with the Navigation Pane......
Read the rest of this entry
Tags: .NET, C#, Outlook, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »
March 20th, 2009
There is only one simple and reliable way to get a valid Outlook object when dragging Outlook items onto a .NET form of your Outlook add-in. Let's have a good look at this way by example of MailItem and an advanced Outlook form region......
Read the rest of this entry
Tags: .NET, C#, Outlook, Outlook regions, VB.NET, Visual Studio
Posted in Add-in Express for Office and .net, HowTo samples | No Comments »