|
-
Jun 16th, 2005, 12:23 AM
#1
Thread Starter
Member
how can i add colunm to Outlook folders?
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
-
Jun 16th, 2005, 12:44 AM
#2
Re: how can i add colunm to Outlook folders?
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2005, 02:51 AM
#3
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
thanks
-
Jun 16th, 2005, 10:42 AM
#4
Re: how can i add colunm to Outlook folders?
Your welcome. Its the same thing as doing it manually when you click "Customize View..." in Outlook.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 19th, 2005, 03:15 AM
#5
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
hi
i don't have any View or Views object in Outlook 
maybe some library misses?
(i use outlook 2000)
-
Jun 19th, 2005, 04:25 AM
#6
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
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)
-
Jun 19th, 2005, 11:57 AM
#7
Re: how can i add colunm to Outlook folders?
Nope, that view is a query. View and Views are only in Outlook 2002 (XP) and above.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 20th, 2005, 12:00 AM
#8
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
yes, i can see 
10x
-
Jun 20th, 2005, 12:10 AM
#9
Re: how can i add colunm to Outlook folders?
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 20th, 2005, 12:47 AM
#10
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
10x , i know , but i'm writing something for distribution (i hope )
so manual customize will not work for me ...
-
Jun 20th, 2005, 11:49 AM
#11
Re: how can i add colunm to Outlook folders?
I know. I just threw that in for good measure since in Outlook 2000 you can not programmatically create a custom view.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2005, 12:13 AM
#12
Thread Starter
Member
Re: how can i add colunm to Outlook folders?
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
Last edited by nastya; Jun 26th, 2005 at 04:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|