Accessing BLOB DATA in DB2 From Visual Basic

Posted on 2001-08-30
Last Modified: 2012-06-21
I have a VB application  that uses getchunk/appendchunk methods to update BLOB columns stored in a SQL Server database.  However, I need to do perform the exact same functionality using DB2 For Windows.  
Neither IBM ODBC Driver nor the Microsoft OLE DB Driver supports handling of BLOB data between VB and DB2.  

Could you please tell me how I can accomplish this ?
Thank You.
Question by:nagacs
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6445598
I am not sure about your case but what i am using for that is OLE provider not odbc connection. As you said ODBC connections are preety weak in dealing with blob
This is my connection string for dealing with blob field in Oracle and it works
Con.ConnectionString="Provider=OraOLEDB.Oracle.1;Password=XX;Persist Security Info=True;User ID=XXXXX;Data Source=XXXX"
You need to find a right OLE provider for DB2.
LVL 54

Expert Comment

ID: 7261908

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.



Accepted Solution

Jgould earned 0 total points
ID: 7291833
Question has been closed as per recommendation

JGould-EE Moderator

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question