Hi:
I develope in
VB with DB2 8.1 too. Here is the string connection I use with no problems.
StrConect = "Provider=MSDASQL;DSN=DRTS;DBQ=BIFDB;PWD=" & usrDBPWD & ";UID=" & usrDBNAM
Set DBCon = New ADODB.Connection
DBCon.ConnectionTimeout = 15
DBCon.CursorLocation = adUseClient
DBCon.Open StrConect
Is through ODBC. (you must create an ODBC source in the client)
Hope it helps.
Cheers.
