可以通过异常处理来判断:
On Error Resume Next
o_AdoConn.Open s_ConnStr
If Err.Number <> 0
    '连接数据库出错
End if
On Error Goto 0