programmatically change To-Do bar settings

M

MiMi

Hi,

Could anyone provide some hints or sample code to change the settings
between Normal, Minimized, or Off? Check Date Navigator,
Appointments, Task List? Will be different in Outlook 2007 and
Outlook 2010?

Thanks.
Mimi
 
Joined
Nov 13, 2013
Messages
1
Reaction score
0
// to Set To-Do bar to normal

Outlook.Explorer currExplorer = null;
currExplorer = ((Outlook.Application)applicationObject).ActiveExplorer();
currExplorer.ShowPane(Outlook.OlPane.olToDoBar, true);

false will make the todo bar off, dont know for minimise.

I used regedit to check tasklist, appointments, date navigator like this:
RegistryKey rkRegOutlookOptions = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Office\14.0\Outlook\options\ToDoBar");

rkRegOutlookOptions.SetValue("ShowTaskList", "1", RegistryValueKind.DWord);

--Bivek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top