Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

VS 2010 problem with OLEDB connection

$
0
0
In VB 6.0 and Visual Basic 2008 n OS windows XP, I was connecting my oracle 10g database as follows:

Public OraSes, OraDb As Object

OraSes = CreateObject("OracleInprocServer.Xorasession")
OraDb = OraSes.OpenDatabase("connection string", "usernm/password", 0&)

but when using the same code in Visual Basic 2010 on Windows professional 7, it gives error on line no 3

and error code is almost 12 digit long

can anyone help me how to set it right

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>