outlook.meetingitem
outlook.meetingitem
outlook.meetingitem
outlook.meetingitem
outlook.meetingitem
outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem
outlook.meetingitem outlook.meetingitem
outlook.meetingitem
Go Back  Xtreme Visual Basic Talk > > > outlook.meetingitem


Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2013, 11:48 AM
sait sait is offline
Newcomer
 
Join Date: Nov 2013
Posts: 1
Default outlook.meetingitem


I am trying to create an addin with visual studio 2010 for Outlook 2010 and 2013 What I am hoping to accomplish is this. When a user, in Outlook mail clicks new items>meeting and then in the meeting item, clicks the rooms button to choose a room, I would like the body of the meeting item to add text based upon the room selected as the recipient. The below code will add the text to a meeting item, however the body text is always the same with this code. Can anyone show me how I can change this code to do what I need?

Public Class ThisAddIn Private WithEvents inspectors As Outlook.Inspectors
Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
inspectors = Me.Application.Inspectors
End Sub
Private Sub inspectors_NewInspector(ByVal Inspector As Microsoft.Office.Interop.Outlook.Inspector) Handles inspectors.NewInspector
Dim appointmentItem As Outlook.AppointmentItem = TryCast(Inspector.CurrentItem, Outlook.AppointmentItem)
If Not (appointmentItem Is Nothing) Then
If appointmentItem.EntryID Is Nothing Then
appointmentItem.Body = "Has projector, conference phone, white booard"
End If
End If
End Sub

Private Sub ThisAddIn_Shutdown() Handles Me.Shutdown

End Sub

End Class
Reply With Quote
Reply

Tags
outlook calendar, visual basic 2010


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
outlook.meetingitem
outlook.meetingitem
outlook.meetingitem outlook.meetingitem
outlook.meetingitem
outlook.meetingitem
outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem outlook.meetingitem
outlook.meetingitem
outlook.meetingitem
 
outlook.meetingitem
outlook.meetingitem
 
-->