Where should I save preferences for my Addin??

M

M0rpheus

I am writing an Addin for Outlook 2003 and I would like to know where
the best place to save preferences for my Addin? I cannot find
documentation on this and I don't want to re-invent the wheel if I don't
have to.

Thanks,
Mo
 
K

Ken Slovak - [MVP - Outlook]

Many of us use the registry for that. I usually use something like
HKCU\Software\Slovaktech\<program_name> and then have values for whatever
settings I want to save. You can also use hidden items in Outlook folders to
store settings, you'd need to use CDO 1.21 or Redemption
(www.dimastr.com/redemption) to do that, the hidden items aren't accessible
using the Outlook object model. A 3rd way to save things is to set up an INI
text file and save and read it for settings. You can use Windows Scripting
for that.
 

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