Posts Tagged ‘.NET’
Andrei Smolin | October 7th, 2011
The implementation of ADXExcelRef.ConvertToA1Style (ConvertToR1C1Style) uses xlfRefText which is NOT thread-safe as per Financial Applications Using Excel Add-in Development in C/C++ (2nd edition). On the other hand, xlSheetNm returning the sheet name is thread-safe. It means that the thread-safe way to get the caller address is to write some code...
Read the rest of this entry →
.NET, C#, Excel, Office, VB.NET, XLL |
8 Comments
Andrei Smolin | October 3rd, 2011
Whether your UDF is a VBA macro or an Excel Automation add-in or even an XLL add-in, you can invoke any method it provides to the user. To do this, you need to get or create an Excel.Application object and invoke ExcelApp.Evaluate() supplying it with the correct syntax for your method and its parameters....
Read the rest of this entry →
.NET, C#, COM add-ins, Excel, Object model, Office, RTD servers, XLL |
2 Comments
A while ago Eugene asked me whether I would be interested at taking an in-depth look at how to effectively handle a new mail in Microsoft Outlook. I mean how hard could it be? We have the NewMail and NewMailEx events and if all else fails we can use the Folder Item Add event, right...
Read the rest of this entry →
.NET, COM add-ins, Outlook |
7 Comments
Eugene Astafiev | September 20th, 2011
As you have probably guessed, this article will describe the Find and FindNext methods of the Outlook Items class. But before focusing on the functionality of these methods, I would like to draw an analogy with database programming in the .NET world. In ADO.NET there is the System.Data.SqlClient.SqlDataReader class which provides the Read method...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
3 Comments
Eugene Astafiev | September 12th, 2011
As a developer you may want to modify an e-mail before sending it (or just add some information, such as a non-disclosure agreement etc.). It is a fairly simple task that every Outlook developer should be familiar with. For example, sometimes you may need to change the subject of a message by adding an ID or something else to track the item in your Inbox; add something to the e-mail body...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET |
60 Comments
Eugene Astafiev | September 8th, 2011
In my previous article, where I showed how to create and send an Outlook message programmatically, I added a recipient to the e-mail. Now I want to delve deeper and show you what you can do with the Recipients collection. Outlook developers frequently need to add recipients to the TO, CC and BCC fields...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
31 Comments