Hello
I have a Visual Basic 2010 programm that uses a .mdb Access database.
In my programm I have the literals:
con.ConnectionString = "PROVIDER=Microsoft.JET.OLEDB.4.0;"Data Source=c:\test.mdb"
This words fine in my IDE.
But when I compile it, ,and with that there is an "app.exe.config" created, the programm keeps looking at c:\test.mdb, whatever I change in "data asource =" in the app.exe.config.
How can I realize that the programms looks at the app.exe.config?
Thanks!
Frans
I have a Visual Basic 2010 programm that uses a .mdb Access database.
In my programm I have the literals:
con.ConnectionString = "PROVIDER=Microsoft.JET.OLEDB.4.0;"Data Source=c:\test.mdb"
This words fine in my IDE.
But when I compile it, ,and with that there is an "app.exe.config" created, the programm keeps looking at c:\test.mdb, whatever I change in "data asource =" in the app.exe.config.
How can I realize that the programms looks at the app.exe.config?
Thanks!
Frans