L
Luft
Is there a better way to find the path to the user's "Application
Data" directory (Windows XP) than building a string that concatenates
"C:\Documents and Settings\" with Environment.UserName and then
"\Application Directory\"? (VB.Net VS 2005)
I'm storing ribbon configuration files for each user there. All
worked well until we had a user that changed her name though marriage
so the system administrators did their magic with active directory and
renamed her account instead of deleting it and creating a new
account. So her logon name changed but the her user directory name
remained the same. Other programs use the "Application Directory"
directory to store configuration information and they still work but
my low tech approach failed miserably.
Can someone give me a clue to a more robust way of doing this?
Thank you.
Data" directory (Windows XP) than building a string that concatenates
"C:\Documents and Settings\" with Environment.UserName and then
"\Application Directory\"? (VB.Net VS 2005)
I'm storing ribbon configuration files for each user there. All
worked well until we had a user that changed her name though marriage
so the system administrators did their magic with active directory and
renamed her account instead of deleting it and creating a new
account. So her logon name changed but the her user directory name
remained the same. Other programs use the "Application Directory"
directory to store configuration information and they still work but
my low tech approach failed miserably.
Can someone give me a clue to a more robust way of doing this?
Thank you.