Tag Archives: outlook programming

Create an appointment in outlook using vb 6

  This article demonstrates how to create an appointment in outlook programmatically using visual basic 6.0 through Microsoft Outlook’s object-model. This example requires a button control in Standard EXE project in visual basic 6.0, you need an early-bound reference to a Microsoft Outlook type library. Double-click the button, and then add the following code: Dim … Continue reading Create an appointment in outlook using vb 6

Example to create an e-mail message in Outlook.

  This example shows how to create an e-mail message in Outlook. Private Sub CreateMailItem() Dim objItem As Outlook.MailItem = _ Me.CreateItem(Outlook.OlItemType.olMailItem) objItem.Subject = "Hello Author" objItem.To = "aboutus@authorcode.com" objItem.Body = "Hello Author, i want to contact you" objItem.Importance = Outlook.OlImportance.olImportanceLow objItem.Display(False) End Sub

How to read To,Cc,Bcc fields from current mailitem in vsto 2010

  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. … Continue reading How to read To,Cc,Bcc fields from current mailitem in vsto 2010