DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Help: Connecting to oracle using VB frontend.

  1. #1
    Join Date
    Feb 2001
    Posts
    13

    Exclamation

    Hi,

    I am using Oracle as my database and
    Vb and C++ as front end. The only problem is
    How do I go about in connecting the Oracle
    database with VB using the ADODB.Connection object, using OLEDB. Is there any sites where i can find sample code for this? API? Links? Sample tutorials? ETc? Any help is greatly appreciated. thx

    Tim



  2. #2
    Join Date
    Aug 2001
    Posts
    2
    Dim strConnectString as String

    Dim objConn as ADODB.connection
    set objConn = new ADODB.connection

    strConnectString = "Provider=MSDAORA;Data Source=serverName;User ID=userName; Password=userPassword;"

    objConn.connectstring = strConnectString

    objConn.open

  3. #3
    Join Date
    Jun 2001
    Location
    India
    Posts
    19
    You can check out oracle documentation for using Oracle OLE objects with VB/VC++

    Bala

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width