Link to home
Start Free TrialLog in
Avatar of NevSoFly
NevSoFly

asked on

How do I get the default email address of the current user?

How do I get the default email address of the current user?  The user will be using Outlook 2003.
Avatar of ToddBeaulieu
ToddBeaulieu
Flag of United States of America image

Maybe this will help? I figured it would be more straightforward!

http://vbnet.mvps.org/index.html?code/reg/regdefemail.htm
Avatar of NevSoFly
NevSoFly

ASKER

Thanks for your reply.  There seems to be a problem in the TrimNull function.  StrPtr is not declared anywhere in the code.  But TrimNull is call in the GetRegValue function.
ASKER CERTIFIED SOLUTION
Avatar of ToddBeaulieu
ToddBeaulieu
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that seems to have done it.  Thanks.