Hello friends,
I need procedure for continous accessing oracle database using visual basic.
Follwing i am giving coding use by me but some time it give disconnection error

Please help for continous connectivity.

dim db as new ADODB.connection
dim rs as new ADODB.recordset

db.open "Provider=MSDAORA.1;User id=ourpro;Password=ourpro1;Persist Security info=False"


is the connect getting successful ?


You have to give "Server" name also..
whatever service name you have given in Net Configuration :

db.open "Provider=MSDAORA.1;User id=ourpro;Password=ourpro1;Persist Security info=False; Server=MyServName"


Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.