VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Connection to database

by Arongard (2 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 12th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Connection to database

API Declarations


'in the connection tab, click the browse button to search for your database, once you've found it, click ok. Once you're back on the connection tab, delete everything but your database name. Once you've done this, click the "check connection" button and you should get the confirmation


Rate Connection to database



chdir app.path
'there you go, now no matter where your app is installed, the database should work, it also works when you're working on your app, but ONLY if you open from the folder you have it (e.g. c:\windows\desltop\my program)if you open your project directly from vb it won't work. 


Download this snippet    Add to My Saved Code

Connection to database Comments

No comments have been posted about Connection to database. Why not be the first to post a comment about Connection to database.

Post your comment

Subject:
Message:
0/1000 characters