Change default account

  • Thread starter Thread starter Twan Kennis
  • Start date Start date
T

Twan Kennis

Is there (already) a way to set the default account within Micrososft
Oultook XP programmatically?
I've been searching around the Internet, but assumely nobody's ever
found a solution yet.
Or did I miss the glory...?

Twan Kennis

Naturally I'm not looking for the solution with the sleeps and send
messages.
 
Currently I succeeded to set the default account in Outlook XP by
modifying the registry.
The missing piece to complete this puzzle, is to notify a running
Outlook appliction of these changes.
Currently I have to restart the application, or make the changes while
Outlook is not running.

I've been trying around with

SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, ...

but Outlook won't listen to it yet.
Maybe someone knows the final solution for this?

Twan Kennis
SKB Vragenlijst Services, automatisering
 
Back
Top