Converting To .NET 2.0 Changes 'UserAppDataPath' Value...?

A

A_StClaire_

hi all,

in my Outlook add-in, I was using
System.Windows.Forms.Application.UserAppDataPath to get the user
roaming directory.

however since moving from Visual Studio 2003 to 2005, I noticed the
value returned by this property changed. namely, it went from
'C:\Documents and Settings\<user>\Application Data' to 'C:\Documents
and Settings\<user>\Application Data\Microsoft Corporation\Microsoft
Office Outlook\11.0.8010'.

I know I can use
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
with VS 2005 to get what I want. still, I was just wondering why
there's a difference in
System.Windows.Forms.Application.UserAppDataPath between .NET 1.1 and
2.0.

does anyone know?

thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top