Check for .config file in user directory, if not there then instal

A

AshleyT

I am using the .config and My.Settings to get my connection string. I need
it to first look in some directory specific for the logged in user. If it
isn't there then look to the program installation folder for the .exe.config.

Ideas on how to best do this.

Thanks,
 
A

AshleyT

Okay so I changed my app.config to have:


<connectionStrings configSource="user.config"/>

And then I created a user.config file in the application directory that has
the connectionSTrings. That works fine. Now how do I get my application to
look to individual users directory for that user.config to fill in those
connection strings.

Thanks,
 

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