Where are the Properties.Settings.Default stored on disk?

D

Dom

I have a user who shut down her computer the hard way -- she held down
the power button until the laptop turned off. Don't ask why. Now,
when she starts my program, she gets a system error, and I've traced
it down to the part of the program that first accesses the Properties.
Settings.Default. I really don't know too much about these settings.
I assume they are stored somewhere on the hard disk in an XML file,
but I don't know where. I'd like to look at it, and possibly restore
it with a better version.

Can anyone telll me where it is stored?
 
M

mick

Dom said:
I have a user who shut down her computer the hard way -- she held down
the power button until the laptop turned off. Don't ask why. Now,
when she starts my program, she gets a system error, and I've traced
it down to the part of the program that first accesses the Properties.
Settings.Default. I really don't know too much about these settings.
I assume they are stored somewhere on the hard disk in an XML file,
but I don't know where. I'd like to look at it, and possibly restore
it with a better version.

Can anyone telll me where it is stored?

Have a look in your AppData directory.

mick
 
G

Galen Henderson

Hello mick,
I use a great free utility from Download.com call Everything search. It
makes an index of you drives in seconds and you can search for filenames
and substring in seconds. IT maintains this index as new files are added
and created and seems to have very little overhead. Probably using a dotnet
subscription to the file system. At any rate if you install everything and
do a search for user.config. It will find all instance of .net user configs.
Just delete the one in question and it will be recreated with defaults the
next time you start the program.
 
D

Dom

Hello mick,
I use a great free utility from Download.com call Everything search.  It
makes an index of you drives in seconds and you can search for filenames
and substring in seconds.  IT maintains this index as new files are added
and created and seems to have very little overhead.  Probably using a dotnet
subscription to the file system.  At any rate if you install everythingand
do a search for user.config.  It will find all instance of .net user configs.
 Just delete the one in question and it will be recreated with defaultsthe
next time you start the program.

---
Regards,
NumbLock

--------
There are only 10 kinds of people in the world.  Those who understand binary
and those who don't






- Show quoted text -

Thanks, that worked.
 

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