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
Bryan Phillips - 31 Oct 2006 02:33 GMT
The only change I know of is that it will return a different value if
the application was deployed using ClickOnce.
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> hi all,
>
[quoted text clipped - 18 lines]
>
> thx