I add a new registry key to HKCU\Software\Microsoft\Shared
Tools\Outlook\Journaling and it doesn't show up w/in Outlook on the standard
Journal form. If I copy any existing key (say Phone Call) by exporting,
changing the name, and importing back to the registry, I get two copies of
the item Phone Call in the Entry Type dropdown list (even though one of the
key's is named differently in the registry). If I change the DescriptionID
of the newly added key, it disappears from the list. Is there another method
to adding entries? Can existing entry descriptions be changed?
In Outlook 2000 you can use VBA to react to events in specific
folders. So to automatically Journal new Appointment items you would
need to handle the ItemAdd event for any Calendar folder and create
your own Journal entry in that event procedure.
There are a minimum of three required fields for a proper custom
Journal entry:
Small Icon String
Large Icon String
Description String
These others are not required, but may be useful to you:
AutoJournaled DWORD
JournalByContact DWORD
Enabled DWORD
The Large and Small Icon strings will need to be set depending on what
type of entry you want to create. The AutoJournaled, Enabled and
JournalByContact DWORDS should be set to 0, since only built-in entry
types are handled automatically. You can use those values if you write
your own code to handle automatic Journaling.
The combination of AutoJournaled and JournalByContact determines where
the entry type would show up in the Journal options. If AutoJournaled
= 1 then the type will show up in the section where things like Word
and Excel do. If both JournalByContact = 1 and AutoJournaled = 1 then
it will show up in the section where E-mail Message and Task Request
do. Enabled will reflect the checked state of the checkbox for the
Journal entry type in Tools|Options|Journal Options.
Here is what I have for a custom Appointment type entry, where the key
is "Appointment":
Description "Appointment"
Enabled 0x00000000
JournalByContact 0x00000000
AutoJournaled 0x00000000
Small Icon "[19]"
Large Icon "[19]"
Note that the Icon string values must be surrounded by [ ] symbols.
An entry similar to this will permit any new entry type to be added in
the dropdown combobox in a Journal entry.
--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams
Jerger <jer...@REMOVEsenet.com> wrote in message
news:s7pfle...@corp.supernews.com...
Dan
Ken Slovak - [MVP - Outlook] <kens...@worldnet.att.net> wrote in message
news:#yTAdsTX$GA...@cppssbbsa02.microsoft.com...
Let us know if you still have any problems.
--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams
Jerger <jer...@REMOVEsenet.com> wrote in message
news:s7q6el...@corp.supernews.com...