hi guy i have a script
with 2 function
the first is
Func _Connection_Open($ConnectionString)
Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ErrFunc")
$objConn = ObjCreate("ADODB.Connection")
$objConn.Open($ConnectionString)
If @error Then Return SetError($ADO_ERR_CONNECTION, @error, $ADO_RET_FAILURE)
Return SetError($ADO_ERR_SUCCESS, $ADO_EXT_DEFAULT, $ADO_RET_SUCCESS)
EndFunc ;==>_Connection_Ope