Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A_StClaire_@hotmail.com - 30 Oct 2006 20:31 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.