Create a system ODBC data source
Posted on 2000-03-10
Does anyone know how I can programatically create a System ODBC Data source from VB without directly writing to the registry? I have looked at the rdoRegisterDataSource RDO function and the SQLConfigDataSource ODBC API call but both of those seem to create User data sources.
My application currently writes directly to the HKEY_LOCAL_MACHINE registry to create our data source, but I'd prefer to use something like rdoRegisterDataSource or SQLConfigDataSource if possible. Is there another API call which will let me do this?