helo friend!
you can use ADODB or ADODC to connect your database.
that is what am doing when i make connections.
you must first add MIcrosoft OLE data objects 2.8 (something like that) in your reference.
to add ADODC object, in your components you must check Microsoft active data objects. the adodc object will then be available in your toolbar.
then configure your adodc, you can use UDL, DSN (ODBC), or connection string.
bout adodb, you actually do codes for connections
- 'sample:
-
-
dim con as ADODB.Connection
-
dim rs as ADODB.Recordset
-
-
'then to make the connection
-
-
con.open "Provider = Microsoft.Jet.OLEDB.4.0; data source = (place here the path of your database)"
-
-
' with rs, this is where you write ur SQL
-
' sample
-
-
rs.open "SELECT * FROM TABLE_NAME", con, 3, 3
this is basically what i do with my connections...
hope this could help you...
just search the net about ADODC and ADODB...
enjoy programming!