Since you asked, the "proper" way is to use the registry. If all IT does is change the workstation name, then the info will stay intact.
>I have a table in my app named Syssetup which contains application level settings that allow each installation to operate the app differently.
>
>I have a table in my app named ws_settings which contains workstation level settings, some of which, if present, override application level settings (syssetup), for a particular workstation. This table also contains printer names, etc for printing documents where the user wants those documents to go to a particular printer (without being asked), etc.
>
>My workstation settings table is keyed on workstation name. When the user logs in, the app looks to see if a workstation level record exists for the workstation name logging in and if so, the workstation level settings are used.
>
>My question: Network administrators are constantly changing workstation's names. Does someone have a better idea on what to key my workstation level settings on rather than workstation name?
>
>Thanks,
>John
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer