If you want to get all members of to,cc, bcc fields from the current outlook compose mail item,then we can use Application.ActiveInspector().CurrentItem object in vsto add-ins.
you can try following code snippt for reading all Recipients information with address, name and we can also get to,cc, bcc fields from the current compose mail item.
Private Sub GetInfo()
Dim strTo As String = ""
Dim strCC As String = ""
Dim strBCC As String = ""
Dim _item As Outlook.MailItem = Globals.ThisAddIn.Application.ActiveInspector().CurrentItem
strTo = _item.To
strCC = _item.CC
strBCC = _item.BCC
For Each Rec As Outlook.Recipient In _item.Recipients
MessageBox.Show("Recipient name : " & Rec.Name)
The most feature of office 2007 and later version is that these office systems are Ribbon compatible.Basically Ribbon in office system is the user interface element that contains controls. Or you can say ribbon is the parant control of command controls.
Continue reading “how to add Ribbon control in word add-in – VSTO 2010 in vb.net”
The common way to develop new functionality or custom functionality to outlook, word, excel is to develop COM addins. There are many different different technologies for making these types of addins such as Visual Basic 6.0, Delphi, C++ and .net etc.
Continue reading “VSTO 2010 in C# – how to make word add-in”
Word document properties are the details which describe the identity of a word document. In this article we will discuss about how to read document properties of any word document in C#. Every word document has some inbuilt properties and custom properties such as Title, subject, category, Author and comments etc. In Ms-Word application, you can see or edit the document properties by opening Advance Document properties window just like if you are working on word 2010 you will see this like:
Continue reading “Read inbuilt document properties of word document in C#”