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

R

raz230

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
 
R

raz230

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....
 

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