Posts Tagged ‘VB.NET’

HowTo: Avoid limitations of Microsoft Outlook ItemAdd event

The description of the ItemAdd event is laconic and compact - "Occurs when one or more items are added to the specified collection. This event does not run when a large number of items are added to the folder at once." But what is really implied by the words "a large number of items"?... Read the rest of this entry →

HowTo: Convert Exchange-based email address into SMTP email address

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 →

HowTo: Support Office 2007 color schemes in your custom forms and task panes

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 →

Office Alarm – Office Live Add-in and Word 2003

Strange things mentioned in my previous post continue to happen. To the bug successfully fixed in the Office Live Add-in on Excel 2007, there's added a nasty and so far no-solution problem with the same add-in, this time on Word 2003... Read the rest of this entry →

Office Alarm – Excel experienced a serious problem with the ‘microsoft office live add-in’

Strange things started happening around us. Swine flu added to the global economic crisis, and we have problems with Office 2007 and the Office Live Add-in added to our pre-release testing for compatibility with the recently released Office Service Pack 2. The fact of the matter is that... Read the rest of this entry →

Hint: How to completely reset Outlook regions

When Outlook is closing, Add-in Express saves the state of all regions embedded into Outlook, namely their position (if drag-and-drop is turned on), state (regions can be minimized or entirely hidden) and size (if resizing is allowed). We implemented this feature just to give end-users the utmost comfort when working with Outlook regions... Read the rest of this entry →

Complete review – Advanced Outlook Regions, part 4

In version 2009 of Add-in Express, a new property appears - RestoreFromMinimizedState. Now I will show you its behavior. Let's say, we have a minimized by default region... Read the rest of this entry →

HowTo: Identify the state and location of an Outlook form

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 →

Complete review – Advanced Outlook Regions, part 3

Part 2 of the Advanced Outlook Regions series, which focused on Outlook Explorer and Inspector regions, ended with the promise that there would be no pictures in the upcoming post, instead it would touch on rather unobvious, rarely used, but highly interesting stuff. Well, the first thing that I'd like to start with is cached instancing... Read the rest of this entry →

HowTo: Work with threads in Microsoft Office COM add-ins

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 →

Complete review – Advanced Outlook Regions, part 2

My previous post was about what the Advanced Outlook Regions really are. And now I will show you all possible regions for two main Outlook windows - Explorers and Inspectors. In this post there are a lot of pictures and little text. As usually, all the forms that I am going to demonstrate do not have a single control... Read the rest of this entry →

Complete review – Advanced Outlook Regions, part 1

Our web-site somehow absolutely imperceptibly for me turned into a collection of pages containing a bit outdated information about our products. I think we will spend the whole year 2009 on putting our web-site in order. In the meantime, I am going to systematically publish complete reviews of one or other of the capabilities that, in my opinion, are covered insufficiently or their descriptions are outdated. And I will start with perhaps the most popular feature of Add-in Express - the Advanced Outlook View and Form Regions... Read the rest of this entry →

HowTo: Customize Outlook Navigation Pane – C#, VB.NET

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 →

HowTo: Use the Microsoft Word Object Model capabilities for spell checking

The Microsoft Word Object Model contains a lot of capabilities that .NET developers can benefit from. While everybody knows about the abilities of Microsoft Word related to text formatting, few are aware of its rich capacity in the spell check area…... Read the rest of this entry →

HowTo: Get properties of an Outlook email item drag-and-dropped onto a .NET form

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 →

HowTo: Use the View.XML property to filter Outlook items

The View object itself is simple but it has one very powerful property. This property is called XML, it contains an xml definition of a folder view and today we are going to look at the capabilities of the filter element…... Read the rest of this entry →

Have any questions? Ask us right now!