How can i programmically add new columns to Outlook folders (inbox,outbox..)?
The new colum will contain user defined field, not one of the outlook standards...
How can i set/retreive data to/from that column?
10x
Printable View
How can i programmically add new columns to Outlook folders (inbox,outbox..)?
The new colum will contain user defined field, not one of the outlook standards...
How can i set/retreive data to/from that column?
10x
You need to use the Outlook.Views and Outlook.View objects in order to create a new custom column in Outlook Inbox or anywhere.
Its based on an XML MS schema. The data is stored in the UserProperties collection of the MAPIFolder object that you map to the column.
thanks :)
Your welcome. Its the same thing as doing it manually when you click "Customize View..." in Outlook. ;)
hi
i don't have any View or Views object in Outlook :(
maybe some library misses?
(i use outlook 2000)
ok, i've found :)
The library for View and Views objects is:
Microsoft ADO Extensions 2.5 for DDL and Security Library Reference (Msadox.dll)
Nope, that view is a query. View and Views are only in Outlook 2002 (XP) and above. :(
yes, i can see :(
10x
I believe you can make them manually in Outlook 2000.
View > Current View > Customize Current View... > Fields button > New Field button > enter the field name, type, and format > click OK.
:) 10x , i know , but i'm writing something for distribution (i hope :) )
so manual customize will not work for me ...
I know. I just threw that in for good measure since in Outlook 2000 you can not programmatically create a custom view. :)
Hi RobDog888 :)
I have one question that i post in many forums (including this one) and i can get any answer :'(
Plz look :
i need a simple character counter , for counting the simbols that user adds in body field of MailItem ( in real time ). When user will write some character in body field the counter field will increase immidiatelly.That work simple Change Event does fine, but there is no change event on body message property of MailItem.
Two events PropertyChange and CustomPropertyChange don't work in real time, and i think neither of them fires for message field changes.
The only solution that i can think of is using Threads. What do you think about it?
Is there a simple way?
Any ans are wellcom, including : "Have no idia"..
10x