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 and VBA
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, 01: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


Ads
  #2  
Old January 15th 06, 03: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
Public Folder appointments do not display resources in user calendar SweetPea Outlook - Calandaring 4 March 3rd 06 11:12 AM
Export & Import of outlook 2003 "User Defined Fields" at folder le Kamele0n Outlook - Using Contacts 1 February 25th 06 04:34 PM
How do I change Profile Name Crockett Outlook - Installation 0 February 3rd 06 07:55 PM
Categories associated with folder instead of individual user fetch98 Outlook - Calandaring 0 January 19th 06 08:29 PM
Getting the user profile folder John Outlook - General Queries 1 January 15th 06 03:58 AM


All times are GMT +1. The time now is 10:24 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.