Thread
:
VB.net Cannot add userproperties
View Single Post
#
3
February 24th 06, 10:32 AM posted to microsoft.public.outlook.program_addins
Ben
external usenet poster
Posts: 3
VB.net Cannot add userproperties
Tks for help !
I will try this method.
And the property "id" doesn't already exist.
"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news:
...
Did you try creating the property, then setting its value:
prop = objJournalEntry.UserProperties.Add("id",
OlUserPropertyType.olNumber)
prop.Value = 1
Does the folder have an existing proeprty named id of another type?
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Ben" wrote in message
...
Hi,
I have made a Outlook Addins which use the Journal Folder.
In the items of that folder, i add a custom properties named "id" where i
store information.
It works on every Outlook 2001 to 2003, but i have find an Outlook 2003
where this field is not added and the operation failed.
Is this a security problem ?
Tks for help !
Ben
example, adding a Journal's item :
objJournalEntry.Type = "Phone Call"
objJournalEntry.Subject = "mysubjet"
objJournalEntry.Body = " the body"
objJournalEntry.Duration = "12"
objJournalEntry.Start = "12/12/2005..."
objJournalEntry.UserProperties.Add("id",
OlUserPropertyType.olNumber).Value
= 1
Ben
View Public Profile
View message headers
Find all posts by Ben
Find all threads started by Ben
Ads