By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,375 Members | 1,428 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,375 IT Pros & Developers. It's quick & easy.

database connection,URGENT

P: 1
my name is stella,im developing a simple application using vb6 and sql,im trying to connect to the database using ADO, my problem is, UNDER WHAT EVENT DO I CONNNECT TO THE DATABASE
Aug 21 '06 #1
Share this Question
Share on Google+
3 Replies


Expert
P: 92
Hi Stella.

if you are useing ADO control then Click right mouse button opun the control go the properties option here u have 3 option to connect the database.1DSN,ODBC,Connection String.what u like u can choose.
if any problem u can mail me
pathak.pathak@gmail.com
Aug 21 '06 #2

sashi
Expert 100+
P: 1,754
Hi Stella,

kindly refer to below attached link.. take care my fren..

http://www.thescripts.com/forum/thread525605.html

p.s/ using the word URGENT is greatly not adviced as it's not a 'good title' :)
Aug 21 '06 #3

P: 2
if you are using adodc1 as a reference then use the following

ConnectionString = "Provider=Microsoft Jet 4.0 OLE DB Provider;Data Source=c:\YourDatabasePath.mdb;Jet OLEDB:Database Password=YourPassword"
Aug 31 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.