VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Connect to a database using code

John Ervine Gempesaw  (1 Submission)   Databases/Data Access/DAO/ADO   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Mon 3rd March 2008   Mon 8th February 2021

Connect to a database using code

API Declarations


Dim rec as Adodb.Recordset
Public Sub StartCon()
Set con = New Adodb.Connection
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb"
'The database file must be in the same path as the application

Rate Connect to a database using code (1(1 Vote))
Connect to a database using code.bas

Connect to a database using code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters