How a get the ADO connection fail error?

  • Thread starter Thread starter Cylix
  • Start date Start date
C

Cylix

I would like to get the error context about the fail connection,
I am using ADODB.connection to connect the Database.

Now, I just using
Try
conn.open(connectionString)
Catch ex as exception
msgbox(ex.message)
End try

Any context just provided by ADODB to get more details about the fail?
 
Why do you use Classic ADO ???


why don`t you use the managed ADO.Net classes ???


regards

Michel Posseth [MCP]
 
Back
Top