Ms.access to vb database connectivity

Hai How to connect the ms. access database to vb
Submitted byrenz09on Wed, 08/25/2010 - 12:15

try this code... module code Option Explicit Public cn As New ADODB.Connection Public rs As New ADODB.Recordset 'Establish connection on database Sub DBConnection() Set cn = New ADODB.Connection cn.CursorLocation = AdUseClient cn.Open "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & App.Path & "\Foldername\db.mdb" End Sub form load event Call DBConnection hope this code help you!....gud lck! HAppy Coding!
Submitted bytheju (not verified)on Tue, 08/20/2013 - 23:26

Give me codng for acess and vb in which puting input through radiobuton and extractng frm database.radiobuton nd combo box

Add new comment