I know what you mean but if you look at the code rad provided, you see this:
$objConn = CreateObject("ADODB.Connection")
you may get error if system does not have this functionality.
and:
$objConn.ConnectionTimeout = $ConnTimeout
$objConn.Open($ConnDSN)
these are dependant of the first one.
if you don't know if the system has services of the needed type, you just want kixtart to take the errors for you?
it's just sloppy code, nothing else.
there is no reason why any soft or com call would return any error if not specifically needed.
and needs are of 2 types:
-1 = coder writes code that is unsupported
-2 = end user makes a choise that causes error
these are both predictable.
thus, I don't see any reason for on-error "event"
_________________________
!download
KiXnet