Solved

oracle connection string

Posted on 2006-07-11
6
346 Views
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"
con.open

it is working.
please, i want to know meaning of :
Provider=MSDAORA.1
what is MSDAORA and what is .1 here.
thanks .
0
Comment
Question by:soodsandeep
[X]
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
6 Comments
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17088320
MSDAORA means Microsoft OLE DB Provider for Oracle
0
 
LVL 8

Expert Comment

by:kaliyugkaarjun
ID: 17088440
0
 

Author Comment

by:soodsandeep
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?
0
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

 
LVL 1

Expert Comment

by:deepak_jims
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
0
 
LVL 7

Accepted Solution

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

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

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 (http://www.experts-exchange.com/Q_27402310.html) 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