Hi all

I've got an winforms application, written in VB.NET 2002, which retrieves information from and populates information to a SQL Server 2000 database.

Ideally I'd like to make it possible to use the same application for both the live system, and the training system (the training system would write to a replica of the database, which would mean that any training or test records would never be reported on). Is there a way of specifying switches that you can use when launching the application, which can then be used to identify which database should be written to?

TIA

Ian