A voir également:
- Connexion Vb.net - Bdd - et windows 7
- Passer de windows 7 à windows 10 - Guide
- Clé windows 7 - Guide
- Télécharger pdf gratuit pour windows 7 - Guide
- Windows 10 iso - Guide
- Movie maker windows 7 - Télécharger - Montage & Édition
11 juin 2011 à 12:26
Mais oui j'ai déjà installé l'ODBC connector
15 juin 2011 à 12:15
Modifié par Kryos le 15/06/2011 à 12:28
Tu fait un module pour la connexion :
Imports MySql.Data.MySqlClient Public Module SQL Public Connexion As New MySqlConnection Public Sub Connect() Connexion.ConnectionString = "server=IP DE LA DB";" & "uid=USER";" & "pwd='PASSWORD';" & "database=NOMDELADB;" Connexion.Open() End Sub End ModuleEt puis pour te connecter :
Try SQL.Connect() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical) End Try