Hola Hilmar,
I use a configuration file for this purpose, which is just an xml file with all the settings my app needs and their values. Easy enough to be edited with any text editor, yet does the trick.
Look for System.Configuration.ConfigurationSettings in help for more information.
Hope this helps!
Alex
>How can I define constants that are shared amongst several forms? In the same project, for a start.
>
>For example, I have several forms that access different tables, in the same Access database, so for simplicity, I would like to have a shared constant for a connection string (so that I can quick switch between two different connection strings between home and the academy where I am learning .NET).
Low-carb diet not working? Try the Low-food diet instead!