|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How a get the ADO connection fail error?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] Show quoteHide quote "Cylix" wrote: > 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? > > |
|||||||||||||||||||||||