Please include some of the preceding thread in your posts, it makes it
very hard to follow a thread without that.
Forget COM addins if you want to support Outlook 97 or 98, COM addins
were introduced in Outlook 2000.
Views are kept in a hidden MAPI message in the folders, using the
MessageClass of IPM.Microsoft.FolderDesign.NamedView. See
http://www.cdolive.com/cdo10.htm for information about that. The
format of the view is an undocumented binary so I'd give up on the
idea of trying to create a view using code. You also can't access the
view message using the Outlook object model, you'd have to use CDO
1.21 or Extended MAPI (C++ or Delphi only, no VB/VBA/VBScript).
See
http://www.slipstick.com/dev/copyfolderdesign.htm for your options
for distributing views.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
mocad_tom said:
I already have a COM-Addin running which can add categories.
My main problem is to create the views.
They are very simple views. Only a weekly-report in the calendar which
shows the items of one category.
Where are the views in outlook97 stored?
Do I have to determine which version is installed?
Or is there another way to create it, perhaps through COM?