Hello
Does anybody know how to programatically switch off the button 'propose new
time' on a meeting request?
On the Menu 'Action' is a option 'Allow new time Proposals'. Also in Outlook
under Options/Calendar.. is a button to generally switch off the 'propose
new time' button.
I could not find a way to switch it off on my own meeting request created via CDO.
To find this property I sent meetings with the same
User from different PC's. The recipient was both times the same.
On one machine I switched the "Allow new times proposal..." option off, and
on the other I switched it on. Well I got two meeting requests one with the
button and one with disabled (invisible) button.
With Outlookspy I found the Property which switches the Button on the
MeetingRequest ON/OFF:
It is:
PropertyTag : 0x8366 (|ID=0x825)
Type : PT_BOOLEAN
Value : true/false
Named Property:
Tag num : 0x8366000B
GUID: {00062002-0000-0000-C000-0
0000000}
Kind : MNID_ID
ID : 0x825A
Question:
How is it possible to see on which object this property is saved and change it with
CDO1.21?
This property must be saved somewhere in the profile and on the message.
I for example checked the Current User object, but this yields to nothing.
There are 34 properties but not a property 0x8366 or 0x825A.
Is the Conversion from 8366000B to -2090467317 correct? (see code below)
Any help really(!) welcome
Sepp
Code sample(c#):
AddressEntry rcpt_ae = (MAPI.AddressEntry)mapiSes
sion.Curre
ntUser;
Field fld=null;
string str="";
int count = (int)(((Fields)rcpt_ae.Fie
lds).Count
);
int counter=0;
//check every field of the ddress entry of the recipient
for (int i = 1; i <= count; i++)
{
counter++;
//PropSetID4
//PropSet1 (must be converted see Q195656)
fld =
(Field)((Fields)rcpt_ae.Fi
elds).get_
Item(i,"00
0620020000
0000C00000
0000000046
");
str=fld.ID.ToString();
if(fld.ID.ToString()=="-21
08030965" || fld.ID.ToString()=="-20904
67317")
{ //Test Property found
fld.Value = this.chkSMRProposeNewTime.
Checked;
rcpt_ae.Update(true,true);
//this is critical!!!! do not remove!
break;
}
}
P.S. If you VB Code it's ok too.