Compañero yo tengo el mismo problema espero que alguien nos ayude ya tengo el codigo pero marca un error me dice que el archigo ISAM no esta instalado
utilizo access 2007 y visual basic 2008 express
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cnn = New OleDb.OleDbConnection
Dim dt = New DataTable
Dim da = New OleDb.OleDbDataAdapter
Dim cmd = New OleDb.OleDbCommand
cnn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;DataSource=C:\Users\vick\Documents\alumnos.accdb;Persist Security Info=False"
cnn.Open()
cmd.Connection = cnn
cmd.CommandText = "alumno"
cmd.CommandType = CommandType.TableDirect
da.SelectCommand = cmd
da.Fill(dt)
Me.DataGrid1.DataSource = dt
End Sub
me marca el error en cnn.open()
espero nos ayuden