Quand j'appel cette fonction
Function OuvrirConnexion()
strConnexion = "Provider=Microsoft.Jet.OLEDB.4.0;"
strConnexion &= "Password=;User ID=Admin;"
strConnexion &= "Jet OLEDB:Database Password= " & "test"
strConnexion &= ";Data Source= localhost/Sisimple_BD.mdb"
cnConnect = New OleDb.OleDbConnection(strConnexion)
Try
cnConnect.Open()
...
...
...
Il m'apparrait l'erreur suivante :
It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
MERCI énormément de votre aide
Whitelynx
