Get info from MeetingItem Subject field (TextChanged event??)

Add-in Express™ Support Service
That's what is more important than anything else

Get info from MeetingItem Subject field (TextChanged event??)
How to get Subject field info? 
d henderson




Posts: 39
Joined: 2006-03-06

Env: VB.Net XP pro sp2. Addin-Express

Question: For an Addin-Express supported application I am developing...
When populating a MeetingItem form for a new meeting, I wish to obtain the text going into the Subject: field *as the user types*.

How should I approach this in my application?


Posted 21 Jul, 2006 11:28:24 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Don.

The Outlook.MeetingItem interface has the Subject property. You can use this property to access the 'Subject' field.
E.g.

...
Dim insp As Outlook.Inspector = OutlookApp().ActiveInspector()
Dim meeting As Outlook.MeetingItem = insp.CurrentItem
Dim subject As String

meeting.Save()
subject = meeting.Subject
...
Posted 21 Jul, 2006 13:56:26 Top