0

Hi,

I was wondering if any knows how to specify the patch for the database when making a vb.net program executable. The data base which is access is in the debug folder of the program.
Any Ideas


Thanks
James

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by __avd
0

>I was wondering if any knows how to specify the patch for the database

Sorry, I'm not quite following the problem. Can you provide some more information about what are you trying to do?

0

I need t make my vb.net application executable I have and access database which the system. The database is stored in the debug folder of the project.

When I publish the project it can't connect to the database. any ideas


>I was wondering if any knows how to specify the patch for the database

Sorry, I'm not quite following the problem. Can you provide some more information about what are you trying to do?

0

Create application configuration file to store database connection string. Make sure that the executables and database file must be placed in a same folder.

I suggest you to use following connection string,

str="Provider=Microsoft.jet.oledb.4.0;Data Source=|DataDirectory|\file.mdb";
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.