I got around and around without finding nothing useful for creating an ADO.NET connection to an access database... Finally I got it working and now I post here the code:
VB Code:
  1. Dim myConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0...." ' Put here the connection string
  2. Dim mySelectQuery As String = "SELECT * FROM table" 'This is your sql query
  3. Dim myConnection As New System.Data.OleDb.OleDbConnection(myConnString) 'Create a new connection
  4. Dim myCommand As New System.Data.OleDb.OleDbCommand(mySelectQuery, myConnection)        
  5. Dim myReader As System.Data.OleDb.OleDbDataReader = myCommand.ExecuteReader()
  6.        
  7. myConnection.Open() ' Open Connection
  8.  
  9. Try
  10.     While myReader.Read() ' Read all records
  11.         ' Do what you want with data...
  12.         ' Use myReader. methods to retrive your data:
  13.         ' myReader.GetInt32(0) gets a 32-bit int from 1st field (zero-based)
  14.         ' myReader.GetString(1) gets a string from 2nd field....
  15.         ' For exampe:
  16.         MsgBox(myReader.GetInt32(0).ToString() + ", " + myReader.GetString(1))
  17.     End While
  18. Finally
  19.     ' Close connection
  20.     myReader.Close()
  21.     myConnection.Close()
  22. End Try
I hope this will be useful

Xmas.