hi I'm an beginning programmer and i'm making an programe to put personal data into an database but I don't get an connection with my database I'm working with visual studio 2005
the visual basic debugger gifs an error at the place of the arrow
CODE
Dim cn As New OleDbConnection
Dim ConnectieString As String = _
System.Configuration.ConfigurationSettings.AppSettings.Item("ConnectionString")
cn.ConnectionString = ConnectieString
==> cn.Open()
'Voor deze connectie een comand object aanmaken en aanduiden welke ik wens
Dim command As OleDbCommand
command = cn.CreateCommand
in my app.config file
CODE
<appSettings>
<add key="ConnectionString"
value="Provider=Microsoft.Jet.OLEDB.4.0 Data Source=D:\Mijn Documenten\Visual Studio 2005\Projects\inschrijvingen welpen\inschrijvingen welpen\welpen.mdb"/>
</appSettings>
this is the error :"The 'Microsoft.Jet.OLEDB.4.0 Data Source=D:\Mijn Documenten\Visual Studio 2005\Projects\inschrijvingen welpen\inschrijvingen welpen\welpen.mdb' provider is not registered on the local machine."
the link to the database is ok
could someone help me?
greetz
This post has been edited by Jakala: 7 Jun, 2008 - 01:08 AM