Hello
I have an app which uses several connections within the Data Environment. On loading, the Connection Strings for the connections are read from an .ini file. The idea being that if one server is down there is an alternative server in the ini file.
At design time you can click 'Test Connection' - does anyone know of a way of doing the same thing at run time?
Simply opening the connection (using a bad server name) brings up the Sql Server Login screen which is something I would like to avoid - I would prefer it if the users saw nothing.
Any ideas gratefully received...
I have an app which uses several connections within the Data Environment. On loading, the Connection Strings for the connections are read from an .ini file. The idea being that if one server is down there is an alternative server in the ini file.
At design time you can click 'Test Connection' - does anyone know of a way of doing the same thing at run time?
Simply opening the connection (using a bad server name) brings up the Sql Server Login screen which is something I would like to avoid - I would prefer it if the users saw nothing.
Any ideas gratefully received...