oracle connection string

Posted on 2006-07-11
Last Modified: 2010-04-30
hello experts,
i am using following statement to connect my vb application with oracle.
dim con as new adodb.connection
con.connectionstring="Provider=MSDAORA.1;User Id=scott/toger"

it is working.
please, i want to know meaning of :
what is MSDAORA and what is .1 here.
thanks .
Question by:soodsandeep
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
LVL 15

Expert Comment

ID: 17088320
MSDAORA means Microsoft OLE DB Provider for Oracle

Expert Comment

ID: 17088440

Author Comment

ID: 17088624
thanks JackOfPH and kaliyugkaarjun !
but can i write
"provider=Microsoft OLE DB Provider for Oracle;User id=scott/tiger"

and what is .1 in MSDAORA.1?
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Expert Comment

ID: 17089278
it' better u use the GUI package instead of the coe.
u have to create a data environment and then a data source in which u have to
select the OLE connector that u will be going to use . in this case it is " microsoft ole db conncector for oracle" (it is in the bottom of the list provided) . select this and press CONTINUE.

select the data base u want to use from oracle and provide the autentication mode.
after the authentication is done . TEST THE CONNECTION by pressing the button in botton most.
if the connection is OK. THEN continue and check the data source whether u have succeded or not.
also to ensure whether the connection is made or nor check the data source property of the FORM. there u will find some one as the connection string.

hope this help u..............

deepak kumar now in  IIPM

Accepted Solution

assyst earned 125 total points
ID: 17102273
You can also write like

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=Username;Password=Password;"

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

696 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