I put this on the module;

Public mypath = Application.StartupPath & "\mydb.mdb"
Public mypassword = ""
Public conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & mypath & ";Jet OLEDBatabase Password=" & mypassword)
Public cmd As OleDbCommand

But I encounter this errors;
Type 'OleDbConnection' is not defined.
Type 'OleDbCommand' is not defined.

what's wrong with this code? What's the best thing to do?