Deploying VB.NET VS 2008 with a configuration file
Posted on 2009-02-17
I have migrated successfully (in development mode) a VB6 application to VS.NET 2008.
The application uses an INI file which is read on startup to obtain configurable parameters.
The old VB6 application simply looked for the INI file in the folder where the application resided, and read the parameters. On installation, it was normally installed in C:\Program Files\'applicationname'
This was fine as it was easy to create a new folder, copy the aplication/INI file to that location, configure the INI file, and off you go.
This was important as multiple copies needed to reside on the workstation, to allows the program to run with different parameters against different database etc.
This is my first deployment of the .NET application.
How can I mirror the functionality of the VB6 deployment ?