vb.net Configuration, settings file location?

I have a vb.net winforms application. I compiled and published it. Then I copied publish folder to another computer. It runs fine.
But I would like change settings in the configuration file. How can I do this? Where can I find location of the Configuration file. I am referring to settings one can create and put in properties (right click on project), settings tab.
LVL 1
Jess31Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
It should in the same location the application exe fille is located.
0
aranaCommented:
from the .net ide you can find it here:
config file
0
ArkCommented:
Add reference to System.Configuration
Dim config = System.Configuration.ConfigurationManager.
  OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.PerUserRoamingAndLocal)
MessageBox.Show(config.FilePath)

Open in new window

Change UserLevel as you need. See this article for more details
0
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Jess31Author Commented:
Ark,
I get msg ConfigurationManager is not a member of System.Configuration and ConfigurationUserLevel is not a member of System.Configuration
0
Jess31Author Commented:
arana,
This properties shows me where it puts it on my computer, and does not allow me to change it.
0
käµfm³d 👽Commented:
How are the settings scoped? Application-scoped settings will be in the config file the others have mentioned; user-scoped settings will be in a config file found under the current user's profile folder (i.e. AppData).
0
Jess31Author Commented:
I have scoped both ways with same results.
0
ArkCommented:
I get msg ConfigurationManager is not a member of System.Configuration and ConfigurationUserLevel is not a member of System.Configuration
Repeat: Add reference to System.Configuration Go to project properties -> references ->add-> .Net tab, and choose System.Configuration
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.