qiaojun
June 27th, 2001, 02:33 PM
Can VB6 link with Office Access 2000 or even Office XP Access?
|
Click to See Complete Forum and Search --> : Database link problem qiaojun June 27th, 2001, 02:33 PM Can VB6 link with Office Access 2000 or even Office XP Access? Iouri June 27th, 2001, 02:41 PM Dim sConn As String Dim cn as ADODB.Connection Set cn = New ADODB.Connection sConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & DBNAME & ";Persist Security Info=False" cn.ConnectionString = sConn cn.Open sConn thta will connect you to Access db. Now you can create recordset and do anything you want Iouri Boutchkine iouri@hotsheet.com codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |