If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > OLEDB Connectivity for Db2 UDB V8.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-05, 09:11
madhuri_awal madhuri_awal is offline
Registered User
 
Join Date: Dec 2004
Location: India
Posts: 23
Question OLEDB Connectivity for Db2 UDB V8.1

Hi all....

I am using a Visual Basic tool for database migration from M/S Access to DB2 UDB. The DB2 connections are done through OLEDB service provider. For the earlier project where the destination D/b was in 7.4 version, The tool worked fine. But for DB2 8.1 version it is not working. Is there any compatibility problem of OLEDB provider with 8.1 verion??? Do I need to use some different service provider or is there any way out???? Pls help me as early as possible......

Thanks a lotts in advance.....
Reply With Quote
  #2 (permalink)  
Old 01-10-05, 19:21
javierfrank javierfrank is offline
Registered User
 
Join Date: May 2004
Posts: 25
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.

Last edited by javierfrank; 01-10-05 at 19:24.
Reply With Quote
  #3 (permalink)  
Old 01-15-05, 00:30
madhuri_awal madhuri_awal is offline
Registered User
 
Join Date: Dec 2004
Location: India
Posts: 23
Thnx a lott for ur reply
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On