By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,495 Members | 1,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,495 IT Pros & Developers. It's quick & easy.

app.config save data (where is it saving to?)

P: n/a
I have a vb.net project. I am using app.config to store some data
that I want the user to be able to change. I do this:

My.Settings.Host = txtURL.text.trim
My.Settings.Save
My.Settings.Reload

This is sort of working. If I close an re-open the application, my
settings are there.

If I look at App.Config, the setting is an empty value. I first
created the "Host" setting in the My Project designer. I made a
setting called "Host" with "user" scope. It's always empty, yet my
application has saved it someplace and I cannot find it. I'm
confused. I looked in the bin folders <exe name>.exe.config and those
are blank too.

Can someone tell me where this data is being saved?

Rob W

May 8 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On May 8, 10:03 am, raz230 <raz...@gmail.comwrote:
I have a vb.net project. I am using app.config to store some data
that I want the user to be able to change. I do this:

My.Settings.Host = txtURL.text.trim
My.Settings.Save
My.Settings.Reload

This is sort of working. If I close an re-open the application, my
settings are there.

If I look at App.Config, the setting is an empty value. I first
created the "Host" setting in the My Project designer. I made a
setting called "Host" with "user" scope. It's always empty, yet my
application has saved it someplace and I cannot find it. I'm
confused. I looked in the bin folders <exe name>.exe.config and those
are blank too.

Can someone tell me where this data is being saved?

Rob W
Edited by me:
I found the answer to this question....


May 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.