I have a situation where I am accessing a database via an ODBC connection. I have been trying to find out if there is a way to pull out the actual name of the database from this connection, through VB, and not just the provider or connection name.

I have heard that there is an API call that can do this. Is there any truth to that? I can't find any such call.

Does anyone know of a way to accomplish this? Point me in the right direction.

TIA
Zempet