home | get Sue’s code | forums | share code | registration

More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

Login

login
password
Remember me

You will need to register and log in if you want to download the source code for the Microsoft Outlook Programming book. The forums and code sharing areas are open to both registered and non-registered visitors.

share code 09-Feb-2010 10:06

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

 

Code level: advanced    Code area: Outlook Expert Techniques Printer Friendly Version
Title: Retrieving the Default Profile from the registry
Description: Code retrieves the default profile from the Windows registry. Windows stores the information in at least 2 places which is why I use the constant string and also allow for an optional fully qualified key as an input parameter. Basically, it looks like NT inserts \Windows NT\CurrentVersion in the middle of the string. Both ends are otherwise identical. The important key is Windows Messaging Subsystem.
Date: 23-Oct-2003  08:59
Code level: advanced
Code area: Outlook Expert Techniques
Posted by: Gary Winey
Body:
All 4comments
Page [ 1  
  10-Nov-2003  05:54   
I am so interested about the subject you are writing..but before analyzing your code, I would like to ask you if you can explain me what is gotten from such code ???...is it the profile or/and the password ???......waiting your response

thanks
  10-Nov-2003  18:48   
Looks to me like Gary's code returns the name of the user's default profile.
  03-Jun-2005  02:39   
How to get the default Signature name
  03-Jun-2005  10:01   
Vishal, see the sample at http://www.outlookcode.com/codedetail.aspx?id=615
Page [ 1  
Post your comment



name        email