Runtime error '440': unable to make connection,ORA-06413
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Runtime error '440': unable to make connection,ORA-06413

Threaded View

  1. #1
    Join Date
    Sep 2012
    Posts
    6

    Unhappy Runtime error '440': unable to make connection,ORA-06413

    Urgent issue
    this is my code
    Code:
    Private Sub Command1_Click()
    'Declare variables
    Dim OraSession As Object
    Dim OraDatabase As Object
    Dim OraDynaset As Object
    
    'Create the OraSession Object.
    Set OraSession = CreateObject("OracleInProcServer.XOraSession")
    
    'Create the OraDatabase Object by opening a connection to Oracle.
    Set OraDatabase = OraSession.OpenDatabase("sampleDBname", "username/password", 0&)
    
    'Display the username and database to which you have connected.
    MsgBox "Connected to " & OraDatabase.Connect & "@" & OraDatabase.DatabaseName
    End Sub
    Using this application. the exe file runs fine in program files but its fails in program files(x86)

    system details:
    windows 7 64bit
    oracle 11g

    please help me out

    advance thanks
    Last edited by WizBang; September 15th, 2012 at 09:47 AM. Reason: Added [code] tags

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center