Change the way configuration file is loaded? RRS feed

  • Question

  • Hi,

    We have an application "App1" written in C# that is invoked from another process "Process1" written in VB6 using "CreateObject". In "App1" we raise some dialog that must be modal with respect to "Process1". That is why we use "CreateObject".

    To get access to configuration data that adheres to "App1" we need to have these within a "Process1.exe.config" file and it works. However we would really like to have our application installed within its own directory and having its own configuration file. Is there any way to do this? The running process is "Process1" so I guess we have to break this in order to get it working? All ideas are more than welcome (no, a rewrite of that old VB& is not an option unfortunately).


    Monday, February 15, 2010 3:41 PM


All replies