PCPT
Messages postés13272Date d'inscriptionlundi 13 décembre 2004StatutMembreDernière intervention 3 février 201847 9 oct. 2009 à 02:44
salut,
oui
'msadox.dll (Microsoft ADO Ext. 2.7 for DLL and Security)
Dim oCat As New ADOX.Catalog
oCat.Create "Provider=Microsoft.jet.OLEDB.4.0;Data Source=" & mDBPathFileName & ";Jet OLEDB:Database Password=" & mDBPassWord & ";Jet OLEDB:Engine Type=5;"
Set oCat = Nothing
mDBPathFileName est le chemin complet (l'arborescence doit exister)
mDBPassWord le mot de passe à appliquer (vbnullstring si aucun)
le type 5 correspond aux bases access 2000 à 2003