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

  • Thread starter Thread starter AshleyT
  • Start date Start date
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,
 
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,
 
Back
Top