‘HowTo samples’ category archive

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 →

HowTo: .NET controls in Internet Explorer – natural behavior and look-and-feel

As for the way .net controls behave in Internet Explorer, it’s Okay, Add-in Express will take care of it. As concerns their look-and-feel, we are going to scrutinize this issue closely today. Standard .NET controls look rather clumsy in Internet Explorer...... Read the rest of this entry →

HowTo: Search in Outlook items programmatically

You can search in Outlook in three different ways – by using the Items.Restrict method, Items.Find in liaison with Items.FindNext and Application.AdvancedSearch. The first two have essential limitations in use…... Read the rest of this entry →

HowTo: Deal with the Recipients collection in Outlook

Well, it’s all about Outlook again. Today we will look at the capabilities of the Recipients collection, Recipient and AddressEntry objects. Using these objects you can get all necessary information about recipients, and you can also modify their e-mail addressees...... Read the rest of this entry →

HowTo: Fix “Old format or invalid type library” error (0x80028018)

Today I’d like to draw your attention to one specificity of the Excel Object Model that every .NET developer should be aware of. Those who are unaware, may get the notorious "Old format or invalid type library" error...... Read the rest of this entry →

HowTo: Handle the Outlook ItemSend event: C#, VB.NET examples

One of the most frequent questions we get concerning the Outlook Object Model is "How to handle the Send button event?" Here is the answer: "You need to use the Application.ItemSend event"...... Read the rest of this entry →

HowTo: Support MS Office applications, Internet Explorer and Outlook Express in one project

Yes, you can do that in one Visual Studio project, but not in one solution. And yes, you can do it using the Add-in Express products. There are only two things to keep in mind…... Read the rest of this entry →

HowTo: Install a COM add-in automatically using Windows Server Group Policy

Here you will get to know how you can use Windows Server Group Policy to install Office applications automatically, including Office COM add-ins. You will learn how to create a Group Policy object in Windows Server 2000, 2003 and 2008, how to assign and remove an installation package…... Read the rest of this entry →

HowTo: Store Microsoft Office documents in your custom data storage

One of the tasks that developers often run into is saving and retrieving Office documents (or document copies) from external data storage. This storage can be an SQL database, Web-service, FTP server as well as a shared network resource of a local area network. Let’s try to handle this task for such popular MS Office applications as Word, Excel, PowerPoint and Outlook…... Read the rest of this entry →

HowTo: Exchange Data using the Outlook Attachments collection

Normally Outlook developers use the MailItem.UserProperties collection to send and receive some additional information with email messages. In this sample add-in for Microsoft Outlook, I suggest a slightly different approach ...... Read the rest of this entry →

Have any questions? Ask us right now!


Warning: Undefined array key "howto-samples" in /usr/home/sites/add-in-express.com/bitrix/templates/add-in-express/bottom_banner.php on line 239