Reputation: 7607
I have an .MDB
database file located on a network share.
I have an application installed on several machines on the network. This application accesses the .MDB
database. What is the best way to store the path of the .MDB
file? In the registry perhaps, or in an .INI
file, or an environment variable?
Upvotes: 0
Views: 520
Reputation: 245001
I would strongly discourage the use of either the Registry or an environment variable.
This is the kind of simple configuration information that INI files were designed to provide. Unless you're writing a .NET application, in which case Application Settings are probably a better bet.
Upvotes: 2
Reputation: 2251
Another way: as a command line parameter of your application.
Upvotes: 4