In my application i have a access database with a list of customers, this database is imported in my project. A combobox datasource is set to display all the customers.
I also created a form so the user can change some settings and locations of certain files. for this i use the this.properties.settings.KlantenDB() the string is created and will save the path to the customer database.
How can i change the current Access database connection string so it will use the KlantenDB path?

Call
and provide the full path to the data files.
The
KlantenConnectionStringshould provide the full connection string. That|DataDirectory|part of the connection string will be replaced with the value you set using the above call toSetData.In your case, the following call should work