use single user.config for multiple .exe projects

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Two of the projects in my solution that both need to use a common
user.config file. This is a data application - the executable that is
created with the first project is the primary executable that users will be
working with 99% of the time, the other is a seperate "maintenance"
executable. The connection string is stored via My.Settings (encrypted of
course). The problem is that obviously with 2 different .exe there are 2
seperate user.config files, but I need to read the connection string out of
a single file. Is this even possible? If not, are there any other
suggestions for how to acheive this same type of functionality through other
methods?


.



Relevant Pages

  • Re: Best place for "Global Variables" and Methods in C# though ASP.Net
    ... in addition use the web.config for encrypted connection string and other ... may additionally use XML config files etc.. ... common stuff I used. ... C# supports classes with static methods which you can use ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SQL Connection Strings
    ... They are common to the whole ... so all users are sharing the same value... ... Check out all the static (shared or module level for VB.NET) variables. ... If the connection string is NOT unique, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cross-tab Criteria not evaluating
    ... I actually was able to get everything running through VBA. ... In php you can use explodeto seperate things out that are seperated ... by a common char(in this case a comma). ...
    (microsoft.public.access.queries)
  • Two Table Into One Table
    ... which both have in common. ... one for standard ... tried queries but they just seperate the two tables. ...
    (microsoft.public.access.forms)
  • Re: A compact problem
    ... It is common to get that error when your connection string is not valid. ... Use the connection string wizard from the TadoConnection to generate your ...
    (borland.public.delphi.database.ado)