A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Getting the user profile folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 15th 06, 02:32 AM posted to microsoft.public.outlook,microsoft.public.outlook.program_vba
John
external usenet poster
 
Posts: 135
Default Getting the user profile folder

Hi

I need to get the signature folder for the current folder such as;
"F:\Documents and Settings\Dave\Application Data\Microsoft\Signatures\"
except that instead of Dave I need the correct name for the current user, s
that my code works generically regardless of who is logged in. Is there a
way to do that?

Thanks

Regards


  #2  
Old January 15th 06, 04:58 AM posted to microsoft.public.outlook,microsoft.public.outlook.program_vba
neo [mvp outlook]
external usenet poster
 
Posts: 293
Default Getting the user profile folder

You could try reading the environment variable "APPDATA". From there you
would just have to append "\Microsoft\Signatures" to end up in the correct
place.

"John" wrote in message
...
Hi

I need to get the signature folder for the current folder such as;
"F:\Documents and Settings\Dave\Application Data\Microsoft\Signatures\"
except that instead of Dave I need the correct name for the current user,
s that my code works generically regardless of who is logged in. Is there
a way to do that?

Thanks

Regards




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 does not recognize my profile Jay Thomas Outlook - General Queries 2 January 10th 06 03:06 AM


All times are GMT +1. The time now is 08:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.