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 / Windows Forms / WinForm General / January 2008

Tip: Looking for answers? Try searching our database.

User.config file creation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Scheer - 20 Jan 2008 14:38 GMT
Hi.

I am playing with application and user settings for windows forms
applications. I found this very helpful topic <http://
groups.google.com/group/microsoft.public.dotnet.framework.windowsforms/
browse_thread/thread/e9a8ba3295ca909b/e903f50e3bd04d68?
lnk=st&q=user.config+group%3A*dotnet*#e903f50e3bd04d68 > that answered
several questions about the subject.

My problem is that I am searching for the User.config file under my
'Documents and Settings' folder and the file is not there. A windows
search on my drive also could not find the file. My question is, when
is the User.config file created? When I compile my application on
Visual Studio or at some other moment?

Regards,
Robert Scheer
martin.zugec@gmail.com - 20 Jan 2008 16:13 GMT
Hi,

based on my (quick) observation, User.Config is created whenever your
settings are different then default ones...

Consider following example:

I have application where I am specifying following settings:
A=1
B=1
C=1

User can change these settings... If he keeps them (so he is using
default), User.Config is not created.

When he will change
A=1
B=2
C=1
(B only is changed), User.Config is generated and contains all
settings.

Martin

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.