narfight
Messages postés129Date d'inscriptionlundi 17 mars 2003StatutMembreDernière intervention 4 mars 2010
-
28 févr. 2008 à 11:45
narfight
Messages postés129Date d'inscriptionlundi 17 mars 2003StatutMembreDernière intervention 4 mars 2010
-
28 févr. 2008 à 13:16
Bonjout,
Je n'arrive pas à me connecter a un fichier Access 2007 (ou 97 de toute façon) avec VB2008 Express car il me retourne cette erreur : Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Voici le code qui tien en 2 lignes : <hr size="2" width="100%" /> Dim Conex_07 As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=2007.accdb;Jet OLEDB:Database Password=Mon_code")
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Conex_07.Open()
End Sub
<hr size="2" width="100%" />
Pouvez-vous m'aider ?