One VB.NET app, Multiple .config files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Is there a way in .NET 1.1 to have to have one VB app use two different
..config files. We have one program which is used for two different
customers; each customer will have his own config file with his specific
folder and file names/locations.
I was thinking I could pass a parameter to the .exe to tell it which config
file to use.
Is this possible, and does anyone have any sample code?
Thanks,
John
 
John Walker said:
Hi,
Is there a way in .NET 1.1 to have to have one VB app use two different
.config files. We have one program which is used for two different
customers; each customer will have his own config file with his specific
folder and file names/locations.
I was thinking I could pass a parameter to the .exe to tell it which
config
file to use.
Is this possible, and does anyone have any sample code?
Thanks,
John

Why don't have a config file that has the common things. You can have .ini
files that have other things not common to each other. There is nothing
stopping you from creating and just reading your own configuration files,
They are just text files anyway. Why make it anymore complicated than
needed?
 
Hi,
Is there a way in .NET 1.1 to have to have one VB app use two different
.config files. We have one program which is used for two different
customers; each customer will have his own config file with his specific
folder and file names/locations.
I was thinking I could pass a parameter to the .exe to tell it which config
file to use.
Is this possible, and does anyone have any sample code?
Thanks,
John

The question is, will the application be launched by different users
under different logged on profiles or different users logged on with
the same profile?
 
Back
Top