DB2 & Visual Basic Programming


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: DB2 & Visual Basic Programming

  1. #1
    Sankaranaryanan Guest

    DB2 & Visual Basic Programming


    Hello & Hi,

    I would like to know whether Visual Basic 6.0 can be connected to the DB2
    and do the programming part. If so, pls let me know how it is and give an
    example. I have the DB2 version 6.1 and having a database called SAMPLE.



    Thnx & Regards,
    Sankar


  2. #2
    Greg Nash Guest

    Re: DB2 & Visual Basic Programming

    Hi,

    Visual Basic can access DB2 (and almost any other database) by a number
    of means.

    There should be some sample VB code somewhere in your DB2 install. Find
    where DB2 was installed (e.g. c:\sqllib, or c:\program files\sqllib) and
    browse through the sample folder (e.g. c:\program files\sqllib\samples)
    - there should be some VB there somewhere. It's definitely there in DB2
    v7 and v8.

    Or, set up an ODBC connection for your database, then look for VB
    information on ADO to use ODBC.

    Regards,
    Greg

    Sankaranaryanan wrote:
    > Hello & Hi,
    >
    > I would like to know whether Visual Basic 6.0 can be connected to the DB2
    > and do the programming part. If so, pls let me know how it is and give an
    > example. I have the DB2 version 6.1 and having a database called SAMPLE.
    >
    >
    >
    > Thnx & Regards,
    > Sankar
    >



  3. #3
    akirekab Guest

    Re: DB2 & Visual Basic Programming


    "Sankaranaryanan" <sankaranarayanan@express2.indexp.co.in> wrote:
    >
    >Hello & Hi,
    >
    >I would like to know whether Visual Basic 6.0 can be connected to the DB2
    >and do the programming part. If so, pls let me know how it is and give an
    >example. I have the DB2 version 6.1 and having a database called SAMPLE.
    >
    >
    >
    >Thnx & Regards,
    >Sankar
    >.....I use and enterprise VB6 APP and communicate with DB2 re Stored Procedures.

    DB2 Can be manipulated with Stored procedures of several different types.
    It is not necessarily intuitive, but you can utilize the large database
    in this way. Ken


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center