bidossessy
Messages postés31Date d'inscriptionjeudi 11 août 2005StatutMembreDernière intervention 9 septembre 2005
-
25 août 2005 à 10:12
crenaud76
Messages postés4172Date d'inscriptionmercredi 30 juillet 2003StatutMembreDernière intervention 9 juin 2006
-
26 août 2005 à 08:03
Public Cnx As New Odbc.OdbcConnection
Public Function Connection_Odbc(ByVal sSdd As String, ByVal sUid As String, ByVal sPwd As String) As Boolean
Try
Dim b As Boolean = False
Cnx.ConnectionString = "DSN=" & sSdd & ";UID=" & sUid & ";PWD=" & sPwd & ";"
Cnx.Open()
b = True
Return b
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Function